-
Run postgres DB
-
Write your data in configs/config.yml
-
Create .env.
DB_PASSWORD=<YOUR_PASSWORD_HERE>
-
Generate tables.
migrate -path ./schema -database <DB_LINE> up
-
Run server
go run cmd/main.go
and enjoy you endpoints :)
Backend todo-app using GO and Gin
Run postgres DB
Write your data in configs/config.yml
Create .env. DB_PASSWORD=<YOUR_PASSWORD_HERE>
Generate tables. migrate -path ./schema -database <DB_LINE> up
Run server go run cmd/main.go
and enjoy you endpoints :)