This is repository will include web server to store statistics from alarm gathering informations about sleep.
Backend: Golang + MongoDB
Frontend: Angular2
Install golang
Install mongoDB
Clone this repository
Start mongodb
$ sudo service mongod start
Create database iot
$ mongo
> use iot
Now your database iot
should be running on default port
Start server
$ go get github.com/knopt/iot
$ cd $GOPATH/src/github.com/knopt/iot/backend
$ go get .
$ go install
$ $GOPATH/bin/backend
$ cd $GOPATH/src/github.com/knopt/iot/frontend
$ npm install
$ npm start
TBA