summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-07Add `userEdit` and `userPasswordEdit` mutationsSanto Cariotti
2024-09-07FormattedSanto Cariotti
2024-09-07ci: Format and checkSanto Cariotti
2024-09-07release: version 0.0.4Santo Cariotti
2024-09-07Use submodules mutations and query for typesSanto Cariotti
2024-09-06Add logoSanto Cariotti
2024-09-06Add readmeSanto Cariotti
2024-09-06Fix scripts and add composeSanto Cariotti
2024-09-06Add script and configuration for KubernetesSanto Cariotti
2024-09-05release: version 0.0.3-alpha.3Santo Cariotti
2024-09-05docker: fix missed libSanto Cariotti
2024-09-05release: version 0.0.3-alpha.2Santo Cariotti
2024-09-05cd: fix tag for latestSanto Cariotti
2024-09-05release: version 0.0.3-alpha.1Santo Cariotti
2024-09-05cd: add the last version as `latest` versionSanto Cariotti
2024-09-05Fixs with clippySanto Cariotti
2024-09-05release: version 0.0.3Santo Cariotti
2024-09-05Send notifications by Expo APISanto Cariotti
2024-09-05Create notifications from a new alertSanto Cariotti
2024-09-05Keep a device token for the user notificationSanto Cariotti
2024-09-03release: version 0.0.2-aSanto Cariotti
2024-09-03Notification must be filtered by seen fieldSanto Cariotti
2024-09-03release: version 0.0.2Santo Cariotti
2024-09-03Add notification typeSanto Cariotti
2024-09-03Fix typoSanto Cariotti
2024-09-03Add auto commitSanto Cariotti
2024-09-03release: 0.0.1-aSanto Cariotti
2024-09-03Add user query used to find an user by idSanto Cariotti
2024-09-03Limit `users` query to admins onlySanto Cariotti
2024-09-03Add name and address fields for usersSanto Cariotti
2024-09-03Add metadata on Cargo configSanto Cariotti
2024-09-03ci: docsSanto Cariotti
2024-09-03Add examples on docSanto Cariotti
2024-09-03ci: add docSanto Cariotti
2024-09-02cd: add `release.sh` and fix textSanto Cariotti
2024-09-02cd: add step to publish a build in ghcrSanto Cariotti
2024-09-01Add extended area field for alertsSanto Cariotti
2024-08-30Add filter for alert by idSanto Cariotti
2024-08-30Use timestamp for `created_at` fieldSanto Cariotti
2024-08-30Return user_id on JWT creationSanto Cariotti
2024-08-29Add CORSSanto Cariotti
2024-08-29Valid the polygon before the alert creationSanto Cariotti
2024-08-26Fix order of lat/lngSanto Cariotti
2024-08-26Add alertsSanto Cariotti
A payload for alert creation can be ``` { "query": "mutation NewAlert($input: AlertInput!) { newAlert(input: $input) { id createdAt level } }", "variables": { "input": { "points": [ { "latitude": 40.73061, "longitude": -73.935242 }, { "latitude": 40.741895, "longitude": -73.989308 }, { "latitude": 40.712776, "longitude": -74.005974 }, { "latitude": 40.73061, "longitude": -73.935242 }, ], "level": "TWO" } } } ```
2024-08-24Add new positionSanto Cariotti
``` curl -X POST http://localhost:8000/graphql \ -H "Content-Type: application/json" \ -H "Authorization: Bearer TOKEN" \ -d '{ "query": "mutation NewPosition($input: PositionInput!) { newPosition(input: $input) { id userId createdAt latitude longitude movingActivity } }", "variables": { "input": { "latitude": 44.502952, "longitude": 11.3114988, "movingActivity": "IN_VEHICLE" } } }' ```
2024-08-23Add `lastPositions` query with filter by `movingActivity` paramSanto Cariotti
2024-08-23Add docSanto Cariotti
2024-08-23Filter positions by user idSanto Cariotti
2024-08-22Add field `moving activity`Santo Cariotti
Following https://developers.google.com/android/reference/com/google/android/gms/location/DetectedActivity
2024-08-22Add position type and query on itSanto Cariotti