go-cookiecutter

command module
v0.0.1-alpha-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2021 License: MIT Imports: 11 Imported by: 0

README

go-cookiecutter CodeFactor

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

  • under [MIT] License

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL