Commit Graph

7 Commits

Author SHA1 Message Date
795d3b444e API: Serve static assets via express 2023-06-08 12:17:16 +02:00
46bc9ae711 Rendering: Add configurable Jose endpoint 2023-06-08 10:13:03 +02:00
4f62cceaa0 API: Redirect 404 routes to homepage 2023-05-25 09:06:13 +02:00
f1e01f2a9f API: Add experimental Json API
in preparation for external healthchecks and the
admin backend. We define a couple test routes:

- / List all routes
- /ping Replies pong for online-checks
- /stats Get high-level bot statistics
- /most-recent-drop Returns the most recent entry from dropHistories

The last two routes require a valid apikey header.
All routes are prefixed by /api/v1
2023-04-05 12:00:46 +02:00
cf159c43bc Docker: Make DB port changeable via .env 2022-09-26 16:21:43 +02:00
845005bcce Remove minzbot references from .env.example 2022-04-17 16:13:41 +02:00
6eccae8721 Core bot components 2022-04-17 14:04:51 +02:00