A simple Web application that renders your GPS traces using OpenStreetMaps
Find a file
Fabio Manganiello 533ebe960f
Refactored backend.
- 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).
2025-03-01 11:45:13 +01:00
.drone apk add make to the Docker image used for the build. 2025-02-28 01:45:39 +01:00
frontend Refactored backend. 2025-03-01 11:45:13 +01:00
src Refactored backend. 2025-03-01 11:45:13 +01:00
.drone.yml [CI/CD] Added build step. 2025-02-28 01:39:02 +01:00
.env.example Refactored backend. 2025-03-01 11:45:13 +01:00
.gitignore Major bootstrap. 2025-02-22 16:31:43 +01:00
LICENSE Added LICENSE 2025-02-28 00:17:37 +01:00
Makefile Added separate Makefile for frontend 2025-02-28 02:26:55 +01:00
package-lock.json Refactored backend. 2025-03-01 11:45:13 +01:00
package.json Refactored backend. 2025-03-01 11:45:13 +01:00
README.md Added separate Makefile for frontend 2025-02-28 02:26:55 +01:00
tsconfig.json Refactored backend. 2025-03-01 11:45:13 +01:00

GPSTracker

Build Status

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.
  • A frontend to display GPS data points and provides advanced filtering.

Building the application

Requirements:

  • node
  • typescript
  • make
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