shankar 8fe130f918 Fixed React backend startup issue.
Updated SQL script to correct procedure and column sizes.
Moved SQL scripts to the project root folder (outside React frontend).
Resolved backend container dependency issue to ensure MySQL is up before starting React backend.
Moved common values to .env file in the project root.
Updated React backend and MySQL ports to use default values.
2024-11-18 10:16:05 +05:30

23 lines
420 B
Bash

# Server Configuration
NODE_ENV=development
PORT=3000
CORS_ORIGIN=http://localhost:5173,http://localhost:3000
# Database Configuration
DB_HOST=localhost
DB_PORT=3306
DB_USER=root
DB_PASSWORD=rootpassword
DB_NAME=ve_router_db
DB_CONNECTION_LIMIT=10
# Authentication Configuration
JWT_SECRET=your-super-secure-jwt-secret-key
JWT_EXPIRES_IN=1d
SALT_ROUNDS=10
# Logging Configuration
LOG_LEVEL=info
LOG_FILENAME=app.log