Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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!