Copyright 2017 Mark Chenoweth
-
Middleware: Negroni
-
Router: Gorilla
-
Orm: Gorm (sqlite or postgres)
-
Jwt authentication: jwt-go and go-jwt-middleware
-
Vue.js spa client with webpack
-
User management
-
config from file
-
email confirmation
-
logrus
-
letsencrypt tls
# clone repositordy
go get github.com/markcheno/go-vue-starter
cd $GOPATH/src/github.com/markcheno/go-vue-starter
# install Go depenancies (and make sure ports 3000/8080 are open)
go get -u ./...
go run server.go
# open a new terminal and change to the client dir
cd client
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
MIT License - see LICENSE for more details