{"id":23907443,"url":"https://github.com/fahadfoysal/project-management-api","last_synced_at":"2026-05-04T11:32:41.724Z","repository":{"id":268385382,"uuid":"904162135","full_name":"fahadfoysal/project-management-api","owner":"fahadfoysal","description":"A project management tool that allows teams to collaborate on projects. The tool needs an API to manage users, projects, tasks, and comments. The API will be consumed by their front-end web application and mobile application.","archived":false,"fork":false,"pushed_at":"2025-01-01T08:48:59.000Z","size":84,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-01T09:25:36.895Z","etag":null,"topics":["django","django-rest-framework","python","rest-api","sqlite"],"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/fahadfoysal.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-12-16T11:15:42.000Z","updated_at":"2025-01-01T08:49:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"011644dc-f90a-45fc-a41b-2ef6bae4af8c","html_url":"https://github.com/fahadfoysal/project-management-api","commit_stats":null,"previous_names":["fahadfoysal/project-management-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahadfoysal%2Fproject-management-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahadfoysal%2Fproject-management-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahadfoysal%2Fproject-management-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahadfoysal%2Fproject-management-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fahadfoysal","download_url":"https://codeload.github.com/fahadfoysal/project-management-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240331315,"owners_count":19784643,"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","python","rest-api","sqlite"],"created_at":"2025-01-05T03:11:55.945Z","updated_at":"2025-10-18T11:16:20.068Z","avatar_url":"https://github.com/fahadfoysal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n#  Project management tool - an API\n\na project management tool that allows\nteams to collaborate on projects. The tool needs an API to manage users, projects,\ntasks, and comments. The API will be consumed by their front-end web application\nand mobile application.\n\n\n\n## Features\n\n- JWT Authentication\n- Custom User Model\n- Full CRUD functionality\n- API Doc by Swagger\n- And many more.\n\n\n## Technologies Used\n\n### Backend\n\n- **Python**: 3.x\n- **Django**: 5.x\n- **DRF**: 3.x\n- **JWT**\n- **SQLite**: (default database for Django projects)\n\n\n## Setup Instructions\n\n1. **Clone the repository:**\n\n    ```bash\n    git clone https://github.com/fahadfoysal/project-management-api.git\n    ```\n\n2. **Create a virtual environment:**\n\n    ```bash\n    python -m venv venv\n    ```\n\n3. **Activate the virtual environment:**\n\n    - **Windows:**\n\n        ```bash\n        venv\\Scripts\\activate\n        ```\n\n    - **macOS/Linux:**\n\n        ```bash\n        source venv/bin/activate\n        ```\n\n4. **Install the required packages:**\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n5. **Run migrations to set up the database:**\n\n    ```bash\n    python manage.py migrate\n    ```\n\n6. **Create a superuser (optional, for accessing the admin interface):**\n\n    ```bash\n    python manage.py createsuperuser\n    ```\n\n7. **Run the development server:**\n\n    ```bash\n    python manage.py runserver\n    ```\n\n8. **Access the application in your web browser:**\n\n    Open your browser and navigate to: [http://localhost:8000](http://localhost:8000)\n\n## Usage/Examples\n\n```\nAccess the Django admin panel at http://localhost:8000/admin/ to manage everything.\n\nAccess Swagger UI for better API doc at http://127.0.0.1:8000/swagger/\n\n\n## REST API Endpoints:\n\n- Register User (POST /api/users/register/): Create a new user.\n- Login User (POST /api/users/login/): Authenticate a user and return a token.\n- Get User Details (GET /api/users/{id}/): Retrieve details of a specific user.\n- Update User (PUT/PATCH /api/users/{id}/): Update user details.\n- Delete User (DELETE /api/users/{id}/): Delete a user account.\n\n## Token Authentication\n\nToken-based authentication is used for API endpoints. After logging in, obtain a token and include it in the header of subsequent requests as follows:\n\n## API Endpoints for Projects\n\n- List Projects (GET /api/projects/): Retrieve a list of all projects.\n- Create Project (POST /api/projects/): Create a new project.\n- Retrieve Project (GET /api/projects/{id}/): Retrieve details of a specific project.\n- Update Project (PUT/PATCH /api/projects/{id}/): Update project details.\n- Delete Project (DELETE /api/projects/{id}/): Delete a project.\n\n## API Endpoints for Task\n\n- List Tasks (GET /api/projects/{project_id}/tasks/): Retrieve a list of all tasks in\na project.\n- Create Task (POST /api/projects/{project_id}/tasks/): Create a new task in a\nproject.\n- Retrieve Task (GET /api/tasks/{id}/): Retrieve details of a specific task.\n- Update Task (PUT/PATCH /api/tasks/{id}/): Update task details.\n- Delete Task (DELETE /api/tasks/{id}/): Delete a task.\n\n## API Endpoints for Comments\n\n- List Comments (GET /api/tasks/{task_id}/comments/): Retrieve a list of all\ncomments on a task.\n- Create Comment (POST /api/tasks/{task_id}/comments/): Create a new\ncomment on a task.\n- Retrieve Comment (GET /api/comments/{id}/): Retrieve details of a specific\ncomment.\n- Update Comment (PUT/PATCH /api/comments/{id}/): Update comment\ndetails.\n- Delete Comment (DELETE /api/comments/{id}/): Delete a comment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahadfoysal%2Fproject-management-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffahadfoysal%2Fproject-management-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahadfoysal%2Fproject-management-api/lists"}