Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.11 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.11 KB

Go RESTful Application Starter Kit

This starter kit is meant to get you up and running with a Go project for developing RESTful services in Go.

The following Go packages have been used:

  • Echo - High performance, minimalist Go web framework
  • Dep - Go dependency management tool
  • Realize - Golang Task Runner which enhance your workflow by automating the most common tasks and using the best performing Golang live reloading.

Getting started

These instructions will get you a copy of the project up and running on your local machine for development, testing and building docker image.

Requirements

Commands

Start live-reload dev environment

$ make dev.up
#$ docker-compose up api

Add new dependency (package)

$ make dev.add.pkg {{package_url}}
#$ docker-compose run --rm api dep ensure -add {{package_url}}

Build docker image

$ make build

Run docker image

$ make run