Make sure you have the following installed:
- Node.js (v18+ recommended)
- npm or yarn (comes with Node)
- Docker (latest version)
- Git (to clone repository if needed)
project-root/
βββ Frontend/ # React app
βββ Parallel_Backend_Bot/ # Python backend (Dockerized)
-
Navigate to the frontend folder: cd Frontend
-
Install dependencies: npm install
yarn install
-
Create
.env
file (if required): -
Start development server: npm run dev
yarn run dev
-
The React app will run at: http://localhost:5173
-
Navigate to the backend folder: cd Parallel_Backend_Bot`
-
Build Docker image: docker compose build
-
Start backend services: docker compose up -d
-
Backend should now be running at: http://localhost:8000
-
Swagger now be running at: http://localhost:8000/docs
-
Stop all backend services:
docker compose down
- Start backend with Docker (
docker compose up -d
). - Start frontend (
npm run dev
). - Open browser at
http://localhost:5173
. - Frontend will call backend APIs running on
http://localhost:8000
.