Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anthonycorletti/gin-api-template
A Gin API template.
https://github.com/anthonycorletti/gin-api-template
api docker gin go gorm makefile postgres
Last synced: about 1 month ago
JSON representation
A Gin API template.
- Host: GitHub
- URL: https://github.com/anthonycorletti/gin-api-template
- Owner: anthonycorletti
- License: apache-2.0
- Created: 2020-07-03T06:11:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-03T13:18:20.000Z (over 1 year ago)
- Last Synced: 2024-06-21T19:10:20.515Z (6 months ago)
- Topics: api, docker, gin, go, gorm, makefile, postgres
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gin-sampler
This is a sample gin api.
Here's a great [blog post](https://www.corletti.xyz/blog/go-gin-sampler) about it.
It persists data in a postgres store and follows
a Router-API-Service-[DAO](https://en.wikipedia.org/wiki/Data_access_object)-Model design pattern.It probably works and can be used
as a boilerplate for more important projects that need a little kick in their
step.This project was built atop
[go-build-template](https://github.com/thockin/go-build-template) by
[thockin](https://github.com/thockin); it is incredibly dope and helpful.### Contributions & Suggestions
[Pull requests](https://github.com/anthcor/gin-sampler/compare) and [issues](https://github.com/anthcor/gin-sampler/issues/new) are very welcome!