This project utilizes Django RestFramework for the backend and React for the frontend, creating a seamless and efficient task management application.
- 🔐 User registration and login
- 📝 Create, edit, and delete
- ✅ Mark tasks as completed
- 🔄 Real-time updates
- 📱 Responsive design
- Backend: Python Django, Django RestFramework
- Frontend: React, Bootstrap 5 Node.js
- Additional Technologies: CORS Headers, Axios
- Clone the repository:
git clone https://github.com/abdulrahim-ramadan/Django-React-ToDO-APP.git cd Django-React-ToDO-APP/backend
- Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run database migrations:
python manage.py migrate
- Start the development server:
python manage.py runserver
- Navigate to the frontend directory:
cd ../frontend
- Install dependencies:
npm install
- Start the development server:
npm start
- Open your browser and go to
[http://127.0.0.1:8000/todo/]
. - Register or log in.
- Start managing your tasks.
GET /api/tasks/
- List all tasksPOST /api/tasks/
- Create a new taskPUT /api/tasks/<id>/
- Update a taskDELETE /api/tasks/<id>/
- Delete a task
- Backend: Django, Django REST Framework
- Frontend: React, Redux
- Database: SQLite (default), can be easily switched to PostgreSQL or MySQL
Contributions are welcome! Please open an issue to report bugs or suggest features. Fork the repository and create a pull request for your changes.