9633d95e758884158aa18d2c14c84cf16d6c707c
Scavenger Hunt API
REST API to support a community scavenger hunt app.
Environment variables
DB_PASSWORDPassword for the databaseDB_URLJDBC URL for the databaseDB_USERUsername for the databaseJWT_SECRETSecret pass for the JWT
TODO:
User Endpoints
- list teams for hunt GET /hunt/{id}/team
- create new hunt team POST /hunt/{id}/team
- join hunt team POST /hunt/{id}/team/{id}
- list items for hunt GET /hunt/{id}/item
- get hunt item info GET /hunt/{id}/item/{id}
- get hunt team item info GET /hunt/{id}/team/{id}/item/{id}
- get photos for hunt item GET /hunt/{id}/team/{id}/item/{id}/photo
- upload photo for hunt item POST /hunt/{id}/team/{id}/item/{id}/photo
- delete photo for hunt item DELETE /hunt/{id}/team/{id}/item/{id}/photo
- list hunt teams with scores for hunt GET /lead/hunt/{id}/team
- list hunters with scores for hunt GET /lead/hunt/{id}/hunter
Admin Endpoints
- approve photo for hunt item POST /admin/hunt/{id}/team/{id}
Description
Languages
Kotlin
100%