kitsteam / excalidraw-storage-backend

MIT License
12 stars 11 forks source link

add health route #18

Closed JannikStreek closed 7 months ago

JannikStreek commented 7 months ago

Context

Currently, there seems to be a problem when the db crashes and the container continues to run. At least Postgres gets into an undefined state and the whole application is stuck without rebooting.

Solution

Add a /health route that is callable and simply makes a small db request with returning 200.