Skip to content

JM00oo/web-demo

Repository files navigation

web-demo

pre-requirement

install dependency

$ govendor sync

modify dbconfig.yml and update schema, ref: dbconfig-example.yml

$ vim ./dbconfig.yml
$ sql-migrate up

setup SQL Config, ref: config/config-exapmle.go

$ vim ./config/config.go

Run test

$ GO_ENV=unit-test go test ./...

Run server

$ go run main.go

Visit localhost:8080

About

A web application demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published