tahsinature / future-proof-gin

A Go/Gin boilerplate following repository pattern that will help to go fast with API development for your project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

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 project

Then you are pretty much good to go

About

A Go/Gin boilerplate following repository pattern that will help to go fast with API development for your project.

License:MIT License


Languages

Language:Go 84.8%Language:Shell 11.9%Language:HTML 1.7%Language:Makefile 1.1%Language:Dockerfile 0.5%