- GO >= 1.8
cd $GOPATH/src
git clone https://github.com/sayonetech/gin-webapp.git
cd gin-webapp
make deps
make build
make
visit by browser: http://localhost:4000/api/index
make migrate
We use fresh Build and (re)start go web apps after saving/creating/deleting source files.
go get github.com/pilu/fresh
Start fresh:
fresh
- Database/ORM
- Migration
- Swagger Doc
- GZip https://github.com/gin-contrib/gzip
- Authentication
- Session
- [] ElasticSearch
- [] Task Queue
- [] SMTP
- [] Middleware
- [] Test
- [] Cache