- Go to the
backendfolder:cd backend - Create and activate a virtual environment (optional, but recommended):
python -m venv venv # Windows: venv\Scripts\activate # Linux/Mac: source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Start the server:
The server will be available at http://localhost:5000
python app.py
- Go to the
frontendfolder:cd ../frontend - Install dependencies:
npm install
- Start the frontend in development mode:
The frontend will be available at http://localhost:5173
npm run dev
- Open http://localhost:5173 in your browser.
- Register a new user and start using the app.
Notes:
- Backend and frontend must be running at the same time.
- For correct authentication, make sure your browser allows cookies for
localhost. - If you change the ports, update them in the CORS settings in
backend/app.py.