From 1b47b6c86936f209b50688a2b6a96dbf3762d1a1 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Sun, 3 Nov 2024 04:12:51 +0530 Subject: [PATCH] docs: backend env vars --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dfd2a97a..f8ae36ed 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,8 @@ You can access the frontend at http://localhost:5173/ and backend at http://loca # Envirnoment Variables | Variable | Mandatory | Description | If Not Set | |-----------------------|-----------|----------------------------------------------------------------------------------------------|--------------------------------------------------------------| -| `NODE_ENV` | Yes | Defines the app environment (`development`, `production`). | Defaults to `development`. | +| `BACKEND_URL` | Yes | URL to run backend on. | Backend won't start. If not sure, set to http://localhost:8080/ | +| `VITE_BACKEND_URL` | Yes | URL to run backend on. | Backend won't start. If not sure, set to http://localhost:8080/ | | `JWT_SECRET` | Yes | Secret key used to sign and verify JSON Web Tokens (JWTs) for authentication. | JWT authentication will not work. | | `DB_NAME` | Yes | Name of the Postgres database to connect to. | Database connection will fail. | | `DB_USER` | Yes | Username for Postgres database authentication. | Database connection will fail. |