- Clone it.
- Get all of the library:
go mod tidy
- .env.example -> .env
- Create a .env file import file in config/config.go
- Create a DB connect file in db/common.go
- Setup the SQLC 3a. create a migration file 3b. up the migration file 3c. write the query for the table 3d. generate the sqlc schema. 3e: then connect the generated sql with the database.
- Now write the service and handlers
migrate create -ext sql -dir db/migrations -seq create_users_table