Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/doorbash/gps-tracker-backend
- Owner: doorbash
- Created: 2022-02-20T18:54:01.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-03-02T17:04:00.000Z (over 2 years ago)
- Last Synced: 2024-10-11T11:44:23.992Z (28 days ago)
- Topics: arduino, gps, gps-tracker, gsm, iot, sim868
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```