https://github.com/diegogallegos4/go-postgres
GO + Postgres starter template
https://github.com/diegogallegos4/go-postgres
docker go-modules golang postgresql schema-validation
Last synced: about 2 months ago
JSON representation
GO + Postgres starter template
- Host: GitHub
- URL: https://github.com/diegogallegos4/go-postgres
- Owner: DiegoGallegos4
- Created: 2019-03-31T23:41:55.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-01T03:29:20.000Z (about 7 years ago)
- Last Synced: 2025-04-09T14:41:13.898Z (about 1 year ago)
- Topics: docker, go-modules, golang, postgresql, schema-validation
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## GO Starter template
This is a starter project template that contains the following:
- [JSON schema validation](https://github.com/go-validator/validator)
- [Logging](https://github.com/uber-go/zap)
- [Postgres ORM](https://github.com/jinzhu/gorm)
- [API Routing](https://github.com/go-chi/chi)
- Modules (go mod)
### Getting Started on your own environment (Go>1.11)
Build project:
`GO111MODULE=on go build`
Run project:
`./api`
### Getting Started with Docker
Build images:
`make build-dev`
Run images:
`make up`