Files
nuchat/backend
Fergus Molloy 7d1c7a6c75
All checks were successful
Backend Actions / check (push) Successful in 14s
Backend Actions / build (push) Successful in 20s
Backend Actions / test (push) Successful in 3m27s
install nextest
2025-07-24 22:56:06 +01:00
..
2025-07-24 22:56:06 +01:00
2025-07-24 17:34:16 +01:00
2025-07-21 17:18:00 +01:00
2025-07-21 17:18:00 +01:00
2025-07-21 17:18:00 +01:00
2025-07-24 17:34:16 +01:00
2025-07-21 17:18:00 +01:00

Backend

Generate random secret using. This secret will be used to authenticate users on all /admin routes

ADMIN_SECRET=$(openssl rand --base64 32)

Features

shutdown

this feature enables an endpoint that allows you to shutdown the server.

WARNING: If the ADMIN_SECRET env var is not set then this endpoint is completely exposed and allows anyone to shutdown the server.