chbs-project/
├── frontend/ React + Vite application
├── backend/ Node.js + Express REST API
- React 18
- Vite
- Tailwind CSS
- Node.js
- Express 5
- ODBC
- Sybase
-
Navigate to the backend directory:
cd backend -
Install dependencies:
npm install -
Create a
.envfile in the backend root with the following variables:DB_USER=your_db_user DB_PASSWORD=your_db_password DB_NAME=your_db_name DB_POOL_MAX=your_db_pool_max DB_POOL_MIN=your_db_pool_min SERVER_PORT=your_server_port NODE_ENV=development JWT_SECRET=your_jwt_secret JWT_EXPIRES_IN=your_jwt_expires_in CORS_ORIGIN=your_cors_origin -
Start the server:
npm run dev
-
Navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install -
Start the development server:
npm run dev