- Long term goals: unclear
- Short term goals:
- Set up ESP-based environment monitors
- Set up Prometheus exports to key data
- (Optional) Set up Grafana to visualise Prometheus data
- Node and NPM installed (v13 and above)
- pm2 app instance running (for production only)
git clone https://github.com/jhfoo/SmartHomeSvr
cd server
npm install
# run in developer mode
npm run dev
# run in production mode (pm2)
npm run prod
- Starts up server listening on port 8080
- Uses Supervisor to auto restart on code change
- Edit config.json to override defaults
Where does one begin? There's so much to do!
- Tests!
- Production npm startup
- Feature parity between REST API and Websocket
- Document APIs