{"id":16463664,"url":"https://github.com/meqdaddev/todo-app-django-rest","last_synced_at":"2026-05-15T14:33:37.709Z","repository":{"id":112890457,"uuid":"487108090","full_name":"MeqdadDev/todo-app-django-rest","owner":"MeqdadDev","description":"A ToDo API app using Django REST framework","archived":false,"fork":false,"pushed_at":"2023-08-08T04:14:13.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T09:59:20.299Z","etag":null,"topics":["api-rest","backend","backend-api","django","django-application","django-rest-framework","djangorestframework","rest-api","rest-client","todo"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MeqdadDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-04-29T20:55:15.000Z","updated_at":"2024-04-12T08:19:46.000Z","dependencies_parsed_at":"2024-11-16T21:01:53.101Z","dependency_job_id":null,"html_url":"https://github.com/MeqdadDev/todo-app-django-rest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeqdadDev%2Ftodo-app-django-rest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeqdadDev%2Ftodo-app-django-rest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeqdadDev%2Ftodo-app-django-rest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeqdadDev%2Ftodo-app-django-rest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MeqdadDev","download_url":"https://codeload.github.com/MeqdadDev/todo-app-django-rest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241008099,"owners_count":19893108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-rest","backend","backend-api","django","django-application","django-rest-framework","djangorestframework","rest-api","rest-client","todo"],"created_at":"2024-10-11T11:15:08.988Z","updated_at":"2026-05-15T14:33:32.679Z","avatar_url":"https://github.com/MeqdadDev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ToDo App using Django REST Framework\n\nThis is an API for a Todo app built with Django REST Framework (DRF).\n\n### Data Models:\n\n* Category: id, title\n* TodoTask: id, title, description, due date, tags, category\n\n\n\n## API Reference\n\n### Registration and Login\n#### User Registration\n\n```http\n  POST /todo/register\n```\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `username`      | `string` | **Required** |\n| `email`      | `string` | **Required** |\n| `password`      | `string` | **Required** |\n\nBody Example:\n```\n{\n    \"username\": \"meqdad\",\n    \"email\": \"me@meqdad.me\",\n    \"password\": \"AddYourPassHere\"\n}\n```\n\n#### User Login\n```http\n  POST /todo/login\n```\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `username`      | `string` | **Required** |\n| `password`      | `string` | **Required** |\n\nBody Example:\n```\n{\n    \"username\": \"meqdad\",\n    \"password\": \"PutYourAddedPassHere\"\n}\n```\n\nResponse Sample:\n```\n{\n    \"expiry\": \"2022-04-30T07:05:04.536584Z\",\n    \"token\": \"026e2a8bd276aa1915361a3efc97d883229eba3ec79d98e32f39d13b619772fd\"\n}\n```\n\n#### User Logout\n```http\n  POST /todo/logut\n```\n\n\n### Categories\n#### Get all categories\n\n```http\n  GET /todo/all_categories\n```\n\nResponse Sample:\n```\n[\n    {\n        \"id\": 1,\n        \"title\": \"Consultation\"\n    },\n    {\n        \"id\": 2,\n        \"title\": \"Learning\"\n    },\n    {\n        \"id\": 3,\n        \"title\": \"Sport\"\n    }\n]\n```\n\n#### Add Category\n\n```http\n  POST /todo/category_create\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `title`      | `string` | **Required**. Title of category |\n\nBody Example:\n```\n{\n    \"title\": \"Sport\"\n}\n```\n\n#### Edit Category\n\n```http\n  PUT /todo/category_edit/\u003cint:id\u003e\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `id`      | `integer` | **Optional**. ID of category |\n| `title`      | `string` | **Required**. Title of category |\n\nBody Example:\n```\n{\n    \"title\": \"Gaming\"\n}\n```\n\n#### Delete Category\n\n```http\n  DELETE /todo/category_delete/\u003cint:id\u003e\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `id`      | `integer` | **Required**. ID of category |\n\n\n#### List Tasks for Specific Category\n\n```http\n  GET /todo/category_tasks/\u003cint:id\u003e\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `id`      | `integer` | **Required**. ID of category |\n\nResponse Sample where id=6:\n```\n[\n    {\n        \"id\": 4,\n        \"title\": \"Call of Duty\",\n        \"description\": \"Play time on Call of Duty game\",\n        \"due_date\": \"2022-04-29T20:20:41Z\",\n        \"tags\": \"\",\n        \"category\": 6\n    },\n    {\n        \"id\": 5,\n        \"title\": \"Super Mario\",\n        \"description\": \"Play time on Super Mario game\",\n        \"due_date\": \"2022-04-29T20:21:15Z\",\n        \"tags\": \"\",\n        \"category\": 6\n    }\n]\n```\n\n\n### Tasks\n#### Get all Todo Tasks\n\n```http\n  GET /todo/all_tasks\n```\n\nResponse Sample:\n```\n[\n    {\n        \"id\": 1,\n        \"title\": \"Learning English Lang.\",\n        \"description\": \"Learning English Language\",\n        \"due_date\": \"2022-04-29T18:00:00Z\",\n        \"tags\": \"education\",\n        \"category\": 2\n    },\n    {\n        \"id\": 2,\n        \"title\": \"Morning Workout\",\n        \"description\": \"Play some workouts at the morning\",\n        \"due_date\": \"2022-04-29T18:00:00Z\",\n        \"tags\": \"lifestyle\",\n        \"category\": 3\n    }\n]\n```\n\n#### Add Todo task\n\n```http\n  POST /todo/task_create\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `title`      | `string` | **Required**. |\n| `description`      | `integer` | **Required**. |\n| `due_date`      | `dateTime` | **Required**. |\n| `tags`      | `string` | **Optional**. |\n| `category`      | `int` | **Required**. |\n\nBody Example:\n```\n{\n        \"title\": \"Reading a book\",\n        \"description\": \"Reading a book about Software Development\",\n        \"due_date\": \"2022-04-30T11:30:00Z\",\n        \"tags\": \"learning\",\n        \"category\": 2\n}\n```\n\n#### Edit Todo task\n\n```http\n  PUT /todo/task_edit/\u003cint:id\u003e\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `title`      | `string` | **Required**. |\n| `description`      | `integer` | **Required**. |\n| `due_date`      | `dateTime` | **Required**. |\n| `tags`      | `string` | **Optional**. |\n| `category`      | `int` | **Required**. |\n\nBody Example:\n```\n{\n        \"title\": \"Reading a book\",\n        \"description\": \"Reading a book about Software Development\",\n        \"due_date\": \"2022-04-30T11:30:00Z\",\n        \"tags\": \"learning\",\n        \"category\": 2\n}\n```\n\n#### Delete Todo Task\n\n```http\n  DELETE /todo/task_delete/\u003cint:id\u003e\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `id`      | `integer` | **Required**. ID of task |\n\n\n#### List Task Details\n\n```http\n  DELETE /todo/task_details/\u003cint:id\u003e\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `id`      | `integer` | **Required**. ID of task |\n\n\nResponse Sample where id=4:\n```\n[\n    {\n        \"id\": 4,\n        \"title\": \"Call of Duty\",\n        \"description\": \"Play time on Call of Duty game\",\n        \"due_date\": \"2022-04-29T20:20:41Z\",\n        \"tags\": \"\",\n        \"category\": 6\n    }\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeqdaddev%2Ftodo-app-django-rest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeqdaddev%2Ftodo-app-django-rest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeqdaddev%2Ftodo-app-django-rest/lists"}