An IOT application to monitor the occupancy of the Men's restroom at work.
git clone "https://github.com/dasavi/stallmonitor.git"
npm install
- Create a file called
.env
in the project directory - Add the following to it:
EMAIL_ADDRESS=[Email address that server will use to send notifications]
EMAIL_PASSWORD=[Password for server email address]
STATUS_EXPIRE_TIME=[Milliseconds to wait since the last update before marking the stall status as unknown]
DB_URL=[URL of Firebase that the application will use]
angular.module('configuration', []).constant('DB_URL','[FIREBASE URL HERE]');
node index.js
http://localhost:5000
grunt watch
grunt dev
grunt lint