Skip to content

AliMRBS/todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝 Django DRF ToDo List API

A simple and functional ToDo List API built with Django REST Framework.
This project allows users to create, read, update, and delete their personal todo items.

🚀 Features

  • Full CRUD functionality for todo items
  • Both Function-Based Views and Class-Based Views are implemented
  • Usage of:
    • mixins
    • generics
    • viewsets
  • Multiple authentication methods:
    • Simple authentication
    • Token-based authentication
    • JWT (JSON Web Token) authentication
  • Integrated with Swagger for better and standardized API documentation

🔐 Authentication

The project supports three authentication mechanisms:

  1. Basic Authentication — suitable for testing purposes
  2. Token Authentication — provides a token upon login
  3. JWT Authentication — recommended for production and modern frontend integrations

📚 API Documentation

Swagger UI is included for interactive API exploration and easier frontend-backend collaboration.
You can access the Swagger docs by navigating to: http://127.0.0.1:8000/api/schema/swagger/

🛠️ Technologies Used

  • Python
  • Django
  • Django REST Framework
  • drf-yasg (for Swagger)
  • djangorestframework-simplejwt

✅ How to Run

  1. Clone the repository:
    git clone https://github.com/AliMRBS/todo.git
    cd todo
    
  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 migrations
    python manage.py migrate
    
  5. Start the development server
    python manage.py runserver
    
    

Author

Seyed Ali Mirabbasi

About

A simple todo list project using DRF (django rest framework)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published