iot

module
v0.0.0-...-a1584db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2017 License: MIT

README

Smart Alarm - Internet of things - Project

Backend

This is repository will include web server to store statistics from alarm gathering informations about sleep.

Backend: Golang + MongoDB
Frontend: Angular2

Set up

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

Frontend

$ cd $GOPATH/src/github.com/knopt/iot/frontend
$ npm install
$ npm start

Physical device software

TBA

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL