A simple Web application that renders your GPS traces using OpenStreetMaps
- Add versioning to API endpoints. - Refactored $db and $repos as global variables. - Extracted routes into separate components with deferred registration. - Support for a different db URL for location data than the one used by the application. - Added sqlite and passport dependencies (passport will soon be used to handle authentication). |
||
|---|---|---|
| .drone | ||
| frontend | ||
| src | ||
| .drone.yml | ||
| .env.example | ||
| .gitignore | ||
| LICENSE | ||
| Makefile | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
GPSTracker
Track your GPS data, from any data source
GPSTracker is a simple Webapp that consists of:
- A backend that:
- Can read GPS data from any compatible data source (supported:
postgres,mysql,mariadb,mongodb,sqlite,snowflake), with arbitrary complex filtering, and expose them over a simple Web API. - [[TODO]] Can ingest GPS data points from HTTP, MQTT, Websocket or Kafka.
- Can read GPS data from any compatible data source (supported:
- A frontend to display GPS data points and provides advanced filtering.
Building the application
Requirements:
nodetypescriptmake
make
Or, if you want to build the backend and the frontend separately:
# Backend
make backend
# Frontend
make frontend
Configuration
See .env.example for a reference. Copy it to .env and modify it accordingly.
Running the application
Local installation
npm run start
Docker
[[TODO]]
Project Setup
Compile and Hot-Reload for Development
Backend
npm run dev
Frontend
cd frontend
npm run dev