This project consists of a React frontend and a Flask backend. Follow the steps below to set up and run the application locally.
Ensure the following software is installed on your system:
- Node.js (latest LTS version recommended)
- npm (comes with Node.js)
- Python 3.7 or higher
- pip (Python package manager)
- A virtual environment manager such as venv (optional but recommended)
-
Navigate to the frontend directory: bash cd frontend
-
Install dependencies: bash npm install
-
Start the development server: bash npm run dev
The React application should now be running at http://localhost:3000 (or the port specified in your configuration).
-
Navigate to the backend directory: bash cd backend
-
(Optional) Create and activate a virtual environment:
-
On macOS/Linux: bash python3 -m venv venv source venv/bin/activate
-
On Windows: bash python -m venv venv venv\Scripts\activate
-
-
Install dependencies: bash pip install -r requirements.txt
-
Start the Flask application: bash python3 app1.py
The Flask backend should now be running at http://localhost:5000 (or the port specified in your configuration).
- Ensure the backend and frontend are running concurrently for full functionality.
- Update the configuration files (e.g., .env, settings.py, or similar) as needed to suit your environment.
- For additional details, refer to the individual documentation in the frontend and backend directories.