mirror of https://github.com/sussy-code/docs.git
713 B
713 B
title |
---|
Introduction |
Introduction to the backend
The backend is essentially just an account server. There is not much more to it.
Metrics
The backend exposes prometheus metrics, it can be accessed on /metrics
.
Security
Optionally, there are a few security settings:
- Recaptcha support, the server can verify Recaptcha v3 tokens on register and login.
- Ratelimits, Some expensive endpoints have ratelimits, but only when enabled. This requires an additional redis connection.
Migrations
To run migrations, You can use the command pnpm migration:up
inside the docker container.
Alternatively, you can enabled postgres.migrateOnBoot
and it will be automatically migrated on boot.