- Navigate to the backend folder:
cd backend - Create a virtual environment (if not already created):
python -m venv venv
- Activate the virtual environment:
- On macOS/Linux:
source venv/bin/activate - On Windows:
venv\Scripts\activate
- On macOS/Linux:
- Install dependencies:
pip install -r requirements.txt
- Apply migrations:
python manage.py migrate
- Start the backend server:
python manage.py runserver
To add or update events, create a superuser:
python manage.py createsuperuserThen visit the admin panel at: http://localhost:8000/admin/, click on Events, and perform CRUD operations.
- Navigate to the frontend folder:
cd frontend - Install dependencies:
npm install
- Start the frontend development server:
npm start
Now, the frontend will be accessible at http://localhost:3000.