fusor-io / fusor-hub

Core part of Fusor platform. It serves as a repository for all configurations, ensures sensor data logging, handling and flow control

Home Page:http://fusor.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is it?

Fusor is a framework for Smart House enthusiasts simplifying development of custom IOT nodes and letting to focus on code logic. Fusor hub is the central component connecting all pieces together.

Big picture

Big picture

Installation

$ npm i
$ npm i -g pm2

Before running app

  1. Rename .env.default to .env and update settings if needed

  2. Register for Firebase and get configuration .json file, see: https://firebase.google.com/docs/admin/setup Configuration file should be save as ./firebase-config.json in project root folder

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

Core part of Fusor platform. It serves as a repository for all configurations, ensures sensor data logging, handling and flow control

http://fusor.io

License:MIT License


Languages

Language:TypeScript 99.3%Language:JavaScript 0.6%Language:Shell 0.0%