https://github.com/anupkumarpanwar/go-gin-postgres-boilerplate
https://github.com/anupkumarpanwar/go-gin-postgres-boilerplate
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/anupkumarpanwar/go-gin-postgres-boilerplate
- Owner: AnupKumarPanwar
- Created: 2020-04-08T15:53:14.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-31T19:35:55.000Z (over 4 years ago)
- Last Synced: 2025-01-30T04:15:19.453Z (over 1 year ago)
- Language: Go
- Size: 15.5 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GoLang : Gin + Postgres Boilerplate
## Getting Started
### STEP 1 - Create the database
`go run main.go db:create`
### STEP 2 - Run migrations on the database
`go run main.go db:migrate`
### STEP 3 - Run the server
`go run main.go serve`
### (Optional) Drop the database
`go run main.go db:drop`