fixed readme
This commit is contained in:
parent
7fc534ba8d
commit
d0a6947b91
1 changed files with 6 additions and 6 deletions
12
README.md
12
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 |
|
||||
Loading…
Add table
Reference in a new issue