Ep1 Golang Microservice Database Setup for E-commerce Backend (Docker & golang-migrate)

Published: 20 June 2024
on channel: david hwang
1,919
88

Before we start with anything, we need to set up our database. In this episode, we design our database schema, bring up MySQL on a docker container, and create & apply database migration files to automate the database setup.

github.com/dhij/ecomm

0:00 intro and database schema design
1:51 dbdiagram.io to generate the SQL file
3:16 intro to docker concepts & commands
6:25 connect to the MySQL container on TablePlus
7:49 intro to database migration
9:07 run a docker command to add a migration file
11:38 apply migration with the migrate command
15:18 why database migration is important


Watch video Ep1 Golang Microservice Database Setup for E-commerce Backend (Docker & golang-migrate) online without registration, duration hours minute second in high quality. This video was added by user david hwang 20 June 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,919 once and liked it 88 people.