Adding login screen, hex grid, and location service

This commit is contained in:
hz
2026-05-18 13:45:47 -05:00
parent 9207fe36a3
commit dd151c5af1
2866 changed files with 64260 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
# LocationsApi
Tracks hex locations for the territory map.
## Endpoints
- `GET /api/locations` List all known locations.
- `GET /api/locations?minQ=-7&maxQ=7&minR=-7&maxR=7` List a coordinate range.
- `GET /api/locations/{q}/{r}` Fetch one location.
- `POST /api/locations/claim` Claim a location for the authenticated user.
- `PUT /api/locations` Upsert location data (SUPER only).
`claim` and `put` require the same JWT issued by AuthApi.