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.
$ npm i
$ npm i -g pm2
-
Rename .env.default to .env and update settings if needed
-
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
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov