This project consists of a React frontend and a Django backend.
- Backend:
expectexception/- Django DRF Backend - Frontend:
frontendExpExc/- React + TypeScript FrontendNote: This is the correct frontend directory. Do not use any other
frontendfolders.
cd expectexception
# Ensure you have your virtual environment activated if you use one
pip install -r requirements.txt
python manage.py migrate
python manage.py runserverBackend runs on: http://localhost:8000
Open a new terminal:
cd frontendExpExc
npm install
npm startFrontend runs on: http://localhost:3000
The frontend is configured to communicate with the backend at http://localhost:8000.
API configuration is located in frontendExpExc/src/api/config.ts.