Commit Graph

8 Commits

Author SHA1 Message Date
Christoph Reiter
a3a869b195 Work around a fastapi testclient bug with a middleware 2020-08-18 20:56:49 +02:00
Christoph Reiter
44937b5d4f Return 503 during the startup phase
So we never give invalid results because we haven't fetched everything
at least once.

Fixes #29
2020-08-18 20:43:34 +02:00
Christoph Reiter
bfb2e1dc8f Link the API in the header 2020-07-11 15:01:20 +02:00
Christoph Reiter
b49544f4aa Add a dummy API endpoint 2020-07-08 20:38:17 +02:00
Christoph Reiter
4cb1a11586 Switch the update loop from threads to asyncio 2020-05-27 08:55:27 +02:00
Christoph Reiter
41210d8f37 Port to FastAPI 2020-05-26 09:05:50 +02:00
Christoph Reiter
0bb4b0e659 Split app up into multiple modules
It's time..
2020-05-24 10:16:38 +02:00
Christoph Reiter
bf01b34838 Move Python app into its own directory 2020-05-24 09:09:49 +02:00