From d0a6947b91906cbafd1b4d99be296e625aaae05a Mon Sep 17 00:00:00 2001 From: Shautvast Date: Thu, 15 May 2025 18:30:08 +0200 Subject: [PATCH] fixed readme --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6eb7523..0dc6a4e 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,9 @@ * /posts returns all posts * /posts/{id} returns a post -| .env | -| DATABASE_URL=postgres://postgres:...@localhost:5432/rust-axum-rest-api | -| MAX_DB_CONNECTIONS=5 | -| BIND_HOST=0.0.0.0:5001 | -| JWT_SECRET=... | -| ALLOWED_ORIGINS= | +| Environment Variable | Description | Example Value | +|----------------------|--------------------------------------------------|--------------------------------------------------| +| DATABASE_URL | Postgres database connection URL | postgres://postgres:password@localhost:5432/mydb | +| MAX_DB_CONNECTIONS | Maximum number of DB connections | 5 | +| BIND_HOST | Address and port to bind the server | 0.0.0.0:5001 | +| JWT_SECRET | Secret used for signing JWT tokens | supersecretkey | \ No newline at end of file