Next Generation of Wilma Plus Notifier
- Moving with language trends, node.js and typescript
- Different way of doing essentially the same thing, while saving device's battery and background CPU usage
npm run build
, builds typescript to js
npm run production
, builds production version to folder dist
npm run start
, builds, and then starts the server
- Copy file
dbconfig.example.json
todbconfig.json
and fill in your database credentials. - If you want to start debugging server (
npm run start
), copy fileconfig.debug.example.env
to.env
, and fill in your settings. - Run command
npm run start
- Copy file
dbconfig.example.json
todbconfig.json
and fill in your database credentials. - If necessary, set your enviroment variables (supported variables list is here)
- run
node server.js
(Check the Wiki for a detailed guide) Endpoints:
POST /api/v1/push
- Start notifier worker for your account
POST /api/v1/delete
- Remove previously saved data from server and stop notifier worker
- Copy file
tests/testconfig.example.json
totests/testconfig.json
, and fill in Wilma server details. - Run
npm run test