Skip to content

The Django-React To-Do App is a modern task management tool. It uses Django for the backend and React for the frontend, enabling users to create, edit, and delete tasks with real-time updates and responsive design, perfect for boosting productivity and organization.

Notifications You must be signed in to change notification settings

abdulrahim-ramadan/Django-React-ToDO-APP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📝 ToDo App Using Django RestFramework + React

icon icon

This project utilizes Django RestFramework for the backend and React for the frontend, creating a seamless and efficient task management application.

Project Contains:

📑 Contents

📸 Demo

project demo

✨ Features

  • 🔐 User registration and login
  • 📝 Create, edit, and delete
  • ✅ Mark tasks as completed
  • 🔄 Real-time updates
  • 📱 Responsive design

⚙️ Installation

Tech Stack:

  • Backend: Python Django, Django RestFramework
  • Frontend: React, Bootstrap 5 Node.js
  • Additional Technologies: CORS Headers, Axios

Backend (Django)

  1. Clone the repository:
    git clone https://github.com/abdulrahim-ramadan/Django-React-ToDO-APP.git
    cd Django-React-ToDO-APP/backend
  2. Create and activate a virtual environment:
    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies:
    pip install -r requirements.txt
  4. Run database migrations:
    python manage.py migrate
  5. Start the development server:
    python manage.py runserver

Frontend (React)

  1. Navigate to the frontend directory:
    cd ../frontend
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm start

🚀 Usage

  1. Open your browser and go to [http://127.0.0.1:8000/todo/].
  2. Register or log in.
  3. Start managing your tasks.

🔌 API Endpoints

  • GET /api/tasks/ - List all tasks
  • POST /api/tasks/ - Create a new task
  • PUT /api/tasks/<id>/ - Update a task
  • DELETE /api/tasks/<id>/ - Delete a task

🛠️ Technologies

  • Backend: Django, Django REST Framework
  • Frontend: React, Redux
  • Database: SQLite (default), can be easily switched to PostgreSQL or MySQL

🤝 Contributing

Contributions are welcome! Please open an issue to report bugs or suggest features. Fork the repository and create a pull request for your changes.

About

The Django-React To-Do App is a modern task management tool. It uses Django for the backend and React for the frontend, enabling users to create, edit, and delete tasks with real-time updates and responsive design, perfect for boosting productivity and organization.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published