Skip to content

shaunstanislauslau/vue-go-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue.js and Go example project

Mathematical operations with Go (Golang) and Vue.js. See the demo (you may need to wait 30 seconds).

Features

  • Create random data
  • Get calculations from Go backend
  • Uses in-memory persistence

Installation

Backend

Get the dep dependency tool and gin, a live reload utility. We also need Gonum for the statistical calculations.

$ go get -u gonum.org/v1/gonum/...
$ go get github.com/codegangsta/gin

Fetch all dependent packages.

$ dep ensure

Start the server.

$ gin run main.go

Frontend

Install dependencies.

$ cd client && npm i

Start the server.

$ npm run serve

Now navigate to the provided URL.

Usage

First, investigate the specs. Second, create some random data points and persist them in-memory. Now get some basic calculations or a distribution chart.

Author

Julian Claus and contributors.

License

MIT

About

Vue.js and Go example project

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 58.7%
  • HTML 35.2%
  • CSS 4.9%
  • Other 1.2%