- Python (for the backend)
- Node.js and npm (for the frontend)
-
Navigate to the Backend Directory:
cd backend
-
Create a Virtual Environment:
python -m venv venv
-
Activate the Virtual Environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On PowerShell:
venv/bin/activate.ps1
- On Windows:
-
Install Required Packages:
pip install -r requirements.txt
-
Run the FastAPI App:
uvicorn main:app --reload
This command will start the FastAPI server in development mode, typically accessible at
http://127.0.0.1:8000
.
-
Navigate to the Frontend Directory:
cd frontend
-
Install Dependencies:
npm install
-
Run the Development Server:
npm run dev
This command will start the frontend server, usually accessible at
http://localhost:3000
(or another specified port).