EFForg / crocodilehunter

Taking one back for Steve Irwin     (๑•̀ㅂ•́)و
GNU General Public License v3.0
971 stars 136 forks source link

sync to external DB and web UI #65

Closed cooperq closed 4 years ago

cooperq commented 5 years ago

For eventual analysis of logs from other users we should sync the data to an externally hosted DB and webui for examining. Create an API and a service for this. Syncing should happen in batches assuming internet connections will be unstable.

cooperq commented 4 years ago

Each device should have its own API key. Towers will be added to a table with additional columns of external_id, api_key. Users can get an API key through the web interface (and manage config settings), towers will be in a shared database with their external ID and api key, users can get the latest id from an endpoint and upload more towers. the users table will contain api keys, project names and descriptions.