web app that opens my door (executes some python script).
using RPi 3.0
node.js
express
passport with fb auth.
rename .env.example
to .env
and set your fb app id and secret key.
.then(
npm install
or yarn install
.done(() => available commands;)
npm run dev
to develop
npm run server
to serve (no autoreload)
npm run lint
to es lint
npm run lint-fix
to fix the lint errors\
use forever (npm install forever -g
)
.then(npm run forever
to stop it forever stop doro6