{"id":17677958,"url":"https://github.com/shanu-shahbin/task-management-using-api","last_synced_at":"2026-05-06T19:32:57.945Z","repository":{"id":258220085,"uuid":"873503438","full_name":"shanu-shahbin/Task-Management-using-API","owner":"shanu-shahbin","description":"A simple task management REST API built with Django and Django REST Framework. This API allows users to create, read, update, and delete tasks, with support for user registration, Searching and authentication using JWT.","archived":false,"fork":false,"pushed_at":"2024-10-16T14:08:06.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T18:12:34.460Z","etag":null,"topics":["django","django-rest-framework","jwt-authentication","postgresql","postman"],"latest_commit_sha":null,"homepage":"","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/shanu-shahbin.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-10-16T09:25:27.000Z","updated_at":"2024-10-18T15:16:04.000Z","dependencies_parsed_at":"2024-10-20T09:05:16.027Z","dependency_job_id":null,"html_url":"https://github.com/shanu-shahbin/Task-Management-using-API","commit_stats":null,"previous_names":["shanu-shahbin/task-management-using-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanu-shahbin%2FTask-Management-using-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanu-shahbin%2FTask-Management-using-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanu-shahbin%2FTask-Management-using-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanu-shahbin%2FTask-Management-using-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shanu-shahbin","download_url":"https://codeload.github.com/shanu-shahbin/Task-Management-using-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246358338,"owners_count":20764366,"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":["django","django-rest-framework","jwt-authentication","postgresql","postman"],"created_at":"2024-10-24T08:03:12.865Z","updated_at":"2026-05-06T19:32:57.888Z","avatar_url":"https://github.com/shanu-shahbin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n    \u003cmeta charset=\"UTF-8\"\u003e\n    \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n    \u003ch1\u003eTask Management API\u003c/h1\u003e\n    \u003cp\u003eA simple task management REST API built with Django and Django REST Framework. This API allows users to create, read, update, and delete tasks, with support for user registration, Searching and authentication using JWT.\u003c/p\n                                                                                                                                                                                                                           \n## Features\n\n- User registration and authentication using JWT.\n- CRUD operations for tasks.\n- Task search functionality by title, status, and priority.\n- Task assignment to different users (many-to-one relationship).\n\n## Technologies\n\n- **Django**: A high-level Python web framework.\n- **Django REST Framework**: A powerful toolkit for building web APIs.\n- **PostgreSQL**: A powerful, open-source relational database.\n- **JWT (JSON Web Tokens)**: A compact, URL-safe means of representing claims to be transferred between two parties.\n- **POSTMAN\n\n## Getting Started\n\n### Prerequisites\n\nMake sure you have the following installed:\n\n- Python 3.x\n- PostgreSQL\n- Django 4.x or later\n- Django REST Framework\n- Django SimpleJWT\n\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/shanu-shahbin/Task-Management-using-API.git\n2. Navigate to the project directory:\n   ```bash\n   cd Task-Management-using-API\n3. Create a virtual environment and activate it:\n   ```bash\n    python3 -m venv venv\n    venv\\Scripts\\activate  \n4. Install the dependencies:\n   ```bash\n   pip install -r requirements.txt\n5. Set up the PostgreSQL database and add your credentials to the settings.py file:\n   ```bash\n   DATABASES = {\n    'default': {\n        'ENGINE': 'django.db.backends.postgresql',\n        'NAME': 'your_db_name',\n        'USER': 'your_db_user',\n        'PASSWORD': 'your_db_password',\n        'HOST': 'localhost',\n        'PORT': '5432',\n    }\n   }\n\n6. Apply migrations:\n   ```bash\n     python manage.py makemigrations\n     python manage.py migrate\n     python manage.py runserver\n\n## Endpoints\n\n- Register: /auth/register/ - Registers a new user.\n- Login: /auth/login/ - Obtain JWT for authentication.\n- Token Refresh: /auth/token/refresh/ - Refresh the JWT\n- Tasks: /tasks/ - List or create tasks (requires authentication).\n- Task Detail: /tasks/\u003cid\u003e/ - Retrieve, update, or delete a task (requires authentication).\n\n## usage\n\n- You can use tools like Postman or curl to test the API endpoints.\n- Ensure you include the JWT token in the Authorization header as:\n  ```bash\n  Authorization: Bearer \u003cyour_token_here\u003e\n\n## License\n\n-This project is licensed under the MIT License.\n\n## output screenshots\n- Listed all the tasks using GET\n\n  \n![http___127 0 0 1_8000_api_tasks_ - My Workspace 1](https://github.com/user-attachments/assets/1cb4acee-cdb9-4e55-bad8-311a347e1fa3)\n\n- Searching the tasks using title, task progress\n  \n![http___127 0 0 1_8000_api_tasks_ - My Workspace serach](https://github.com/user-attachments/assets/788d56eb-df7b-4aa1-89ca-b53ba33c22c2)\n\n- Using post adding new tasks \n\n![http___127 0 0 1_8000_api_tasks_ - My Workspace post](https://github.com/user-attachments/assets/db086f20-4ac5-47be-8a87-223ca0db2023)\n\n- JWT authentication and using bearer token\n  \n![Token Obtain Pair – Django REST framework - Google Chrome 10_16_2024 2_39_47 PM](https://github.com/user-attachments/assets/e25563c1-6b7d-4664-abd2-0144b6b83a6d)\n\n- Postgresql structure\n\n  ![pgAdmin 4 10_16_2024 2_53_47 PM](https://github.com/user-attachments/assets/a2f383f4-2c16-4ece-b613-5522ef2e66fa)\n\n\n\n\n\n\n\n \n\n    \n\n\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshanu-shahbin%2Ftask-management-using-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshanu-shahbin%2Ftask-management-using-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshanu-shahbin%2Ftask-management-using-api/lists"}