add env var

This commit is contained in:
2026-03-31 20:37:12 +02:00
parent 551b5a2658
commit 0b379d1331
15 changed files with 125 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
## ADDED Requirements
### Requirement: Backend URL is configured via environment variable
The frontend application SHALL use the URL defined in the `REACT_APP_BACKEND_URL` environment variable to make API calls to the backend.
#### Scenario: Environment variable is set
- **WHEN** the `REACT_APP_BACKEND_URL` environment variable is set to "http://api.example.com"
- **THEN** the application SHALL make API calls to "http://api.example.com".
#### Scenario: Environment variable is not set
- **WHEN** the `REACT_APP_BACKEND_URL` environment variable is not set
- **THEN** the application SHALL make API calls to "http://localhost:3001".