backend for getting sms configs and logging message for a few gps tracker units.
- refer to
runsync.py --help
for more info - put db variables and admin key in
config.py
- run
runsync.py
use repop.py
to import some sample users and devices.
endpoint | usage |
---|---|
/login | POST to get config |
/message | POST log messages |
/users | GET all, POST new |
/users/:id | GET one, PUT to update, DELETE one |
/devices | GET all, POST new |
/devices/:id | GET one, PUT to update, DELETE one |
/messages/:id | GET for user or device |