Harden dev environment configuration
Some checks failed
CI / Backend Tests (push) Has been cancelled
CI / Frontend Tests (push) Has been cancelled
CI / Build Docker Images (push) Has been cancelled

This commit is contained in:
2025-10-16 17:48:26 -05:00
parent 75c7430d01
commit 9355d5c7c2
20 changed files with 26341 additions and 42 deletions

View File

@@ -76,9 +76,9 @@ A comprehensive SAAS application for managing recruiter workflows, built with mo
```
5. **Access the application**
- Frontend: http://localhost:3000
- Backend API: http://localhost:3001
- Database: localhost:5432
- Frontend: http://localhost:12000
- Backend API: http://merchantsofhope-supplyanddemandportal-backend:3001 (inside Docker network) or http://localhost:3001 when running natively
- Database: merchantsofhope-supplyanddemandportal-database:5432 (inside Docker network)
### Alternative: Native Node.js workflow
@@ -98,7 +98,7 @@ cd ../frontend
npm start
```
Ensure a PostgreSQL instance is running and the `DATABASE_URL` in `.env` points to it.
Ensure a PostgreSQL instance is running and the `DATABASE_URL` in `.env` points to it. The frontend `.env.development` file pins the dev server to `0.0.0.0:12000` so it matches the Docker behaviour.
### Demo Accounts