Skip to content

sayonetech/gin-webapp

Repository files navigation

Gin based REST API Project

Environment Requirements

  • GO >= 1.8

Install

cd $GOPATH/src

git clone https://github.com/sayonetech/gin-webapp.git

Load Dependency

cd gin-webapp
make deps

Build Service

make build

Run the Service

make

visit by browser: http://localhost:4000/api/index

Database Migration

make migrate

Local Deployment

We use fresh Build and (re)start go web apps after saving/creating/deleting source files.

Installation

go get github.com/pilu/fresh

Start fresh:

fresh

TODO

Task Q

Email