A full-featured Todo application built with a React frontend and Django REST Framework backend. This app allows users to manage their daily tasks efficiently with full CRUD functionality.
Frontend:
- React
- Axios
- React Router DOM
Backend:
- Django
- Django REST Framework
- django-cors-headers
- Create, Read, Update, Delete (CRUD) todos
- Mark tasks as completed
- Simple and responsive UI
- RESTful API integration
project-root/
├── backend/
│ ├── manage.py
│ ├── todo_project/
│ └── todo/
├── frontend/
│ ├── public/
│ └── src/
- Navigate to the backend folder:
cd backend- Create virtual environment (optional but recommended):
python -m venv venv
venv\Scripts\activate # Windows
source venv/bin/activate # macOS/Linux- Install required packages:
pip install django djangorestframework django-cors-headers- Apply migrations:
python manage.py makemigrations
python manage.py migrate- Run the backend server:
python manage.py runserverDjango API will be live at
http://localhost:8000/api/todos/
- Navigate to the frontend folder:
cd frontend- Install required packages:
npm install- Start the React development server:
npm startReact app will run at
http://localhost:3000and communicate with the Django backend