{"id":23213434,"url":"https://github.com/nagipragalathan/todoapidjango","last_synced_at":"2026-06-28T05:32:07.666Z","repository":{"id":225117526,"uuid":"765105257","full_name":"NagiPragalathan/TodoApiDjango","owner":"NagiPragalathan","description":"This project is a Django REST API application that manages Todos and Categories. It provides endpoints for creating, listing, updating, and deleting Todos and Categories. The project uses Django, Django REST framework, and PostgreSQL.","archived":false,"fork":false,"pushed_at":"2024-02-29T15:33:47.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-22T09:53:29.090Z","etag":null,"topics":["api","backenddevelopment","django","djangorestframework","mangodb","opensource","projectmanagement","python","taskmanagement","todoapi"],"latest_commit_sha":null,"homepage":"https://todo-api-django.vercel.app","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NagiPragalathan.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-29T09:42:50.000Z","updated_at":"2024-06-20T15:37:50.000Z","dependencies_parsed_at":"2024-02-29T12:17:50.169Z","dependency_job_id":"53a98348-3aa1-4046-b61a-eff4751b0816","html_url":"https://github.com/NagiPragalathan/TodoApiDjango","commit_stats":null,"previous_names":["nagipragalathan/todoapidjango"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NagiPragalathan/TodoApiDjango","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NagiPragalathan%2FTodoApiDjango","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NagiPragalathan%2FTodoApiDjango/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NagiPragalathan%2FTodoApiDjango/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NagiPragalathan%2FTodoApiDjango/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NagiPragalathan","download_url":"https://codeload.github.com/NagiPragalathan/TodoApiDjango/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NagiPragalathan%2FTodoApiDjango/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34878963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","backenddevelopment","django","djangorestframework","mangodb","opensource","projectmanagement","python","taskmanagement","todoapi"],"created_at":"2024-12-18T19:17:35.909Z","updated_at":"2026-06-28T05:32:07.642Z","avatar_url":"https://github.com/NagiPragalathan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Todo Api Project Documentation\n\nThis project is a Django REST API application that manages Todos and Categories. It provides endpoints for creating, listing, updating, and deleting Todos and Categories. The project uses Django, Django REST framework, and PostgreSQL.\n\n-----------------------------------------------------------------------\n\n## Endpoints\n\n```\nBaseUrl : https://todo-api-django.vercel.app/api/v1/\n```\n### Todos\n\n- `POST /todos`: Create a new Todo\n- `GET /list_todos`: List all Todos\n- `GET /todos/\u003ctodo_id\u003e/`: Get details of a specific Todo\n- `PUT /todos/\u003ctodo_id\u003e/update`: Update a Todo\n- `DELETE /todos/\u003ctodo_id\u003e/delete`: Delete a Todo\n\n### Categories\n\n- `POST /create/`: Create a new Category\n- `GET /list/`: List all Categories\n- `GET /details/\u003ccategory_id\u003e/`: Get details of a specific Category\n- `PUT /update/\u003ccategory_id\u003e/`: Update a Category\n- `DELETE /delete/\u003ccategory_id\u003e/`: Delete a Category\n\n## Models\n\n### Category\n\n- `name`: CharField (max_length=50)\n- `description`: TextField\n\n### Todo\n\n- `title`: CharField (max_length=100)\n- `description`: TextField\n- `created_at`: DateTimeField (auto_now_add=True)\n- `due_date`: DateField\n- `priority`: CharField (choices=['Low', 'Medium', 'High'])\n- `completed`: BooleanField (default=False)\n- `category`: ForeignKey to Category (on_delete=models.CASCADE, related_name='todos', null=True, blank=True)\n\n## Views Documentation\n\n### Todo Views\n\n- `create_todo`: View to create a new Todo. Accepts POST requests.\n- `list_todos`: View to list all Todos. Accepts GET requests.\n- `get_todo_details`: View to get details of a specific Todo. Accepts GET requests.\n- `update_todo`: View to update a Todo. Accepts PUT requests.\n- `delete_todo`: View to delete a Todo. Accepts DELETE requests.\n\n### Category Views\n\n- `create_category`: View to create a new Category. Accepts POST requests.\n- `list_categories`: View to list all Categories. Accepts GET requests.\n- `get_category_details`: View to get details of a specific Category. Accepts GET requests.\n- `update_category`: View to update a Category. Accepts PUT requests.\n- `delete_category`: View to delete a Category. Accepts DELETE requests.\n\n\n\n## Structure\n\nThe project follows a typical Django project structure with the following components:\n\n- `base`: Contains the main Django app for the project.\n  - `admin.py`: Configuration for Django admin panel.\n  - `apps.py`: Configuration for Django app.\n  - `models.py`: Contains the database models for Category and Todo.\n  - `serializers.py`: Contains serializers for Category and Todo models.\n  - `tests.py`: Contains tests for the app.\n  - `urls.py`: Contains URL patterns for the app.\n  - `views.py`: Contains views for the app.\n  - `__init__.py`: Initialization file for the app.\n\n  - `api`: Subdirectory containing API views for Category and Todo.\n    - `category.py`: Contains API views for Category model.\n    - `todo.py`: Contains API views for Todo model.\n\n- `migrations`: Contains database migration files.\n- `__pycache__`: Contains Python cache files.\n\n- `TodoApi`: Main project directory.\n  - `asgi.py`: ASGI configuration.\n  - `settings.py`: Django project settings.\n  - `urls.py`: Main URL configuration.\n  - `wsgi.py`: WSGI configuration.\n  - `__init__.py`: Initialization file for the project.\n\n```bash\n│   db.sqlite3\n│   manage.py\n│   Readme.md\n│\n├───base\n│   │   admin.py\n│   │   apps.py\n│   │   models.py\n│   │   serializers.py\n│   │   tests.py\n│   │   urls.py\n│   │   __init__.py\n│   │\n│   ├───api\n│   │   │   category.py\n│   │   │   todo.py\n│   │   │\n│   │   └───__pycache__\n│   │           category.cpython-311.pyc\n│   │           todo.cpython-311.pyc\n│   │\n│   ├───migrations\n│   │   │   0001_initial.py\n│   │   │   __init__.py\n│   │   │\n│   │   └───__pycache__\n│   │           0001_initial.cpython-311.pyc\n│   │           __init__.cpython-311.pyc\n│   │\n│   └───__pycache__\n│           admin.cpython-311.pyc\n│           apps.cpython-311.pyc\n│           models.cpython-311.pyc\n│           serializers.cpython-311.pyc\n│           url.cpython-311.pyc\n│           urls.cpython-311.pyc\n│           views.cpython-311.pyc\n│           __init__.cpython-311.pyc\n│\n└───TodoApi\n    │   asgi.py\n    │   settings.py\n    │   urls.py\n    │   wsgi.py\n    │   __init__.py\n    │\n    └───__pycache__\n            settings.cpython-311.pyc\n            urls.cpython-311.pyc\n            wsgi.cpython-311.pyc\n            __init__.cpython-311.pyc\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnagipragalathan%2Ftodoapidjango","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnagipragalathan%2Ftodoapidjango","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnagipragalathan%2Ftodoapidjango/lists"}