Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/doorbash/gps-tracker-backend

Backend for https://github.com/doorbash/gps-tracker. Android App: https://github.com/doorbash/gps-tracker-android
https://github.com/doorbash/gps-tracker-backend

arduino gps gps-tracker gsm iot sim868

Last synced: 4 days ago
JSON representation

Backend for https://github.com/doorbash/gps-tracker. Android App: https://github.com/doorbash/gps-tracker-android

Awesome Lists containing this project

README

        

**Database:**
```sql
CREATE TABLE "Device" (
"id" TEXT NOT NULL,
PRIMARY KEY("id")
);
CREATE TABLE "LatLng" (
"device_id" TEXT NOT NULL,
"datetime" INTEGER NOT NULL,
"lat" REAL NOT NULL,
"lng" REAL NOT NULL,
"alt" REAL NOT NULL,
"hdop" REAL NOT NULL,
"pdop" REAL NOT NULL,
"vdop" REAL NOT NULL,
PRIMARY KEY("device_id","datetime")
);
```

```sql
INSERT INTO Device(id) VALUES("00000000000000000000");
```

**Docker Compose:**
```yaml
gps-tracker:
restart: always
logging:
driver: "json-file"
options:
max-size: "200m"
volumes:
- ./docker/gps-tracker/db.sqlite:/db.sqlite
image: ghcr.io/doorbash/gps-tracker-backend:latest
```