Skip to content

It's a blue print of golang backend application

License

Notifications You must be signed in to change notification settings

tech-thinker/go-cookiecutter

Folders and files

NameName
Last commit message
Last commit date
May 18, 2022
Nov 6, 2021
May 18, 2022
Nov 25, 2021
Nov 25, 2021
Nov 25, 2021
May 20, 2022
Sep 27, 2020
Nov 25, 2021
Nov 25, 2021
Nov 7, 2021
Jun 6, 2021
Jan 3, 2021
Jan 3, 2021
Jan 3, 2021
Sep 27, 2020
Nov 27, 2021
May 30, 2021
Nov 25, 2021
Nov 25, 2021
Nov 25, 2021

Repository files navigation

go-cookiecutter

build status CodeFactor go version GoReportCard Code style: standard License: MIT Github all releases

Overview

Go-CookieCutter is an starter project for Golang micro service application

Purpose

With the template, you can easily start a backend server development with a little tweaks in the code.

Requirements

[Note: you can you use any sql database but required to change the sql driver in config as per the database server.]

How to create project using this template?

Coming Soon

Installation

Clone the repository,

git clone https://github.com/tech-thinker/go-cookiecutter.git

There is no need to install dependencies if you are using docker.

Install required dependencies,

cd go-cookiecutter
go mod tidy

Migration

Update soon

How to run?

Defining environment variables,

cp docker/.env{.sample,}

Edit .env with your favorite editor.

Export those variables,

export $(cat docker/.env | xargs)

Using Docker,

cd docker
docker-compose up --build

Test running,

curl http://localhost:3000/ping

Contribute

License

  • open sourced under MIT License