fixed readme

This commit is contained in:
Shautvast 2025-05-15 18:30:08 +02:00
parent 7fc534ba8d
commit d0a6947b91

View file

@ -9,9 +9,9 @@
* /posts returns all posts * /posts returns all posts
* /posts/{id} returns a post * /posts/{id} returns a post
| .env | | Environment Variable | Description | Example Value |
| DATABASE_URL=postgres://postgres:...@localhost:5432/rust-axum-rest-api | |----------------------|--------------------------------------------------|--------------------------------------------------|
| MAX_DB_CONNECTIONS=5 | | DATABASE_URL | Postgres database connection URL | postgres://postgres:password@localhost:5432/mydb |
| BIND_HOST=0.0.0.0:5001 | | MAX_DB_CONNECTIONS | Maximum number of DB connections | 5 |
| JWT_SECRET=... | | BIND_HOST | Address and port to bind the server | 0.0.0.0:5001 |
| ALLOWED_ORIGINS= | | JWT_SECRET | Secret used for signing JWT tokens | supersecretkey |