example frontend-backend communication
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
NODE_ENV=development
|
||||
PORT=3000
|
||||
APP_BASE_URL=http://localhost:3000
|
||||
FRONTEND_URL=http://localhost:5173
|
||||
|
||||
# DATABASE CONFIGURATION (PostgreSQL)
|
||||
DB_HOST=postgres
|
||||
|
||||
@@ -13,6 +13,7 @@ services:
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
- PORT=3000
|
||||
- FRONTEND_URL=http://localhost:5173
|
||||
- DB_HOST=postgres
|
||||
- DB_PORT=5432
|
||||
- DB_NAME=serpentrace
|
||||
|
||||
Reference in New Issue
Block a user