giulianolatini / vue-go-example

Vue.js and Go example project

Home Page:https://vue-go-example.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://vue-go-example.herokuapp.com

License:MIT License


Languages

Language:JavaScript 58.6%Language:HTML 35.2%Language:CSS 4.9%Language:Vue 0.8%Language:Go 0.4%