Skip to content

a-company-jp/a-project-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development

Launch MySQL Dev Instance

# Fill .env before running MySQL Instance
cd mysql
docker-compose up -d

Setup golang-migrate

make setup

Run the service

# Make sure that you have set DSN of active MySQL instance in .env
go run svc/cmd/dev/main.go

Migrations

Run Migrations

# Migrate all the way up
make migrate_up

# Migrate one step down
make migrate_down

Create New Migration

# Replace MIGRATION_NAME with the name of the migration
make create_migration NAME="MIGRATION_NAME"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •