A web app to use measurements of multiple listeners in order to triangulate a (misbehaving) radio station
- consists of a web app (using phonegap or a browser) and a web service (using flask)
- allows users to send measurements including their location and a bearing
- combines these measurements to display a google map with all the current measurements plotted
- requires registration and login
- allows users to start a new search or select a current search
- a search consists of a frequency, a start time and a short description
/api/searches/
- GET: list of searches
- POST(/PUT): create new search returns: ID of new search
/api/searches/x
- GET: current map of search
- PUT(/POST): send new measurement
headers:
- own location
- bearing
- strenght
/api/users/
- POST: register as new user
headers:
- email address
- password
- location
All calls except api/users require basic auth.
build:
docker build -t triangulator
run:
docker run -ti -p 8001:8001 -e KEY=googlemapsapikey triangulator <admin password>
or:
docker run -ti -p 8001:8001 -v /path/to/app.db:/app/app.db -e KEY=googlemapsapikey triangulator <admin password>