https://github.com/markcheno/go-vue-starter
Starter project - Golang api, Vue.js client with user management and jwt authentication
https://github.com/markcheno/go-vue-starter
api-server boilerplate golang gorm-orm jwt-authentication negroni spa starter-template vuejs2
Last synced: 3 months ago
JSON representation
Starter project - Golang api, Vue.js client with user management and jwt authentication
- Host: GitHub
- URL: https://github.com/markcheno/go-vue-starter
- Owner: markcheno
- License: mit
- Created: 2017-04-08T17:23:46.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T16:14:35.000Z (over 1 year ago)
- Last Synced: 2024-04-14T08:30:00.728Z (about 1 year ago)
- Topics: api-server, boilerplate, golang, gorm-orm, jwt-authentication, negroni, spa, starter-template, vuejs2
- Language: JavaScript
- Homepage:
- Size: 1020 KB
- Stars: 189
- Watchers: 15
- Forks: 40
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-vue-starter
Copyright 2017 Mark Chenoweth
## Golang Starter project with Vue.js single page client
### Work in progress...
### Features:
- Middleware: [Negroni](https://github.com/urfave/negroni)- Router: [Gorilla](https://github.com/gorilla/mux)
- Orm: [Gorm](https://github.com/jinzhu/gorm) (sqlite or postgres)
- Jwt authentication: [jwt-go](https://github.com/dgrijalva/jwt-go) and [go-jwt-middleware](https://github.com/auth0/go-jwt-middleware)
- [Vue.js](https://vuejs.org/) spa client with webpack
- User management
### TODO:
- config from file- email confirmation
- logrus
- letsencrypt tls
### To get started:
``` bash
# clone repository
go get github.com/markcheno/go-vue-starter
cd $GOPATH/src/github.com/markcheno/go-vue-starter# install Go dependencies (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
```### License
MIT License - see LICENSE for more details