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

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

About

It's a blue print of golang backend application

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •