Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tahsinature/future-proof-gin
A Go/Gin boilerplate following repository pattern that will help to go fast with API development for your project.
https://github.com/tahsinature/future-proof-gin
docker elasticsearch gin go golang gorm kibana postgresql redis repository-pattern workflow
Last synced: about 1 month ago
JSON representation
A Go/Gin boilerplate following repository pattern that will help to go fast with API development for your project.
- Host: GitHub
- URL: https://github.com/tahsinature/future-proof-gin
- Owner: tahsinature
- License: mit
- Created: 2021-11-26T00:47:47.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-14T14:00:06.000Z (about 3 years ago)
- Last Synced: 2024-06-20T06:38:24.989Z (6 months ago)
- Topics: docker, elasticsearch, gin, go, golang, gorm, kibana, postgresql, redis, repository-pattern, workflow
- Language: Go
- Homepage:
- Size: 1.06 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Instructions to run the app
### Run inside docker
- Make sure you've docker installed
- Execute `docker-compose up`### Run outside docker
- Make sure dependecies like (db, redis) are running by env credentials. Or you can simply run those dependencies inside docker by executing `make dependency`
- Execute `make prepare`
- Execute `make syncdb`
- Execute `make run-watch`> Or in one command you can simply do this:
>
> ```bash
> make dependency prepare syncdb run-watch
> ```### If you wanna use it in your project
1. Fine and replace all the `github.com/tahsinature/future-proof-gin` with your project's github url
2. Take care of LICENSE and README.md
3. Rename `.env_rename_me` -> `.env`
4. Change database and other credentials according to your projectThen you are pretty much good to go