{"id":19874264,"url":"https://github.com/alimghmi/todev","last_synced_at":"2026-04-12T06:31:37.812Z","repository":{"id":144121213,"uuid":"535526179","full_name":"alimghmi/todev","owner":"alimghmi","description":"A collaborative todo app for project management, enabling developers and project managers to work together on projects with custom permissions and JWT authentication. ","archived":false,"fork":false,"pushed_at":"2022-09-13T12:17:26.000Z","size":343,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T22:57:18.320Z","etag":null,"topics":["django","djangorestframework","djangorestframework-jwt","docker","gunicorn","nginx","python"],"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/alimghmi.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-09-12T05:38:31.000Z","updated_at":"2024-02-12T07:45:34.000Z","dependencies_parsed_at":"2023-08-08T21:17:07.965Z","dependency_job_id":null,"html_url":"https://github.com/alimghmi/todev","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alimghmi/todev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimghmi%2Ftodev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimghmi%2Ftodev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimghmi%2Ftodev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimghmi%2Ftodev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alimghmi","download_url":"https://codeload.github.com/alimghmi/todev/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimghmi%2Ftodev/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31706764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["django","djangorestframework","djangorestframework-jwt","docker","gunicorn","nginx","python"],"created_at":"2024-11-12T16:22:34.033Z","updated_at":"2026-04-12T06:31:37.784Z","avatar_url":"https://github.com/alimghmi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# todev\n\n## Summary\ntodev is a todo app with custom permission class defind for developers and project manager. They can collaborate with each other on different projects. Every authenticated user can create a project from scratch and become the project manager, add/remove developers to/from the project.\n\n## ERD\n![todev ERD](https://github.com/alimghmi/todev/blob/master/doc/todev.png)\n\n\n## How to run\nSimply via Docker:\n```\ngit clone https://github.com/alimghmi/todev.git\ncd todev\ndocke-compose -f docker-compose.dev.yaml up --build\n```\nOr Set it up manually:\n```\ngit clone https://github.com/alimghmi/todev.git\ncd todev/todev\npython3 -m venv .venv\nsource .venv/bin/activate\npip3 install -r requirements.txt\npython3 manage.py makemigrations\npython3 manage.py migrate\npython3 manage.py runserver\n```\n### Notes: \n - docker-compose takes care of env files automatically. Consider adding **env variables** for a better experience, in case of manual setup.\n - Please consider adding a *superuser* or create a non-super user via `signup` endpoint. \n\n## Authorization\nTodev leverages simple-jwt. All endpoints (except login/signup) expect you to send a access token as Authorization in the header.\n\n\n## Testing\n```\npython3 manage.py test\n```\n\n\n## Browsable API\nIt's possible to test and examine the app within browser, which is provided by DRF UI. In addition following is possible to be managed via a third party app like curl by providing the brearer token as Authorization key in the request header.\n\n\n## Endpoints\nFor further information please check **postman collection** of project, all necessarry fields of each endpoints are documented in details. Postman collection is available [here](https://github.com/alimghmi/todev/blob/master/doc/todev.postman_collection.json). \n\nUser-related operations:\n```\nPOST /signup/: Create a new user\n\nPOST /api/token/: Return access/refresh tokens to login\n```\n\nProject endpoints:\n```\nGET /projects/: Return list of projects for user which user is a project manager or a developer of\n\nPOST /projets/: Create a new project by providing the needed fields\n\nPUT /projects/\u003cproject_id_here\u003e/: Update a project\n\nGET /projects/\u003cproject_id_here\u003e/: Get a detailed view of a project\n\nDELETE /projects/\u003cproject_id_here\u003e/: Delete a project\n```\nTask endpoints:\n```\nGET projects/\u003cproject_id_here\u003e/tasks/: Get all of the tasks in a project\n\nGET projects/\u003cproject_id_here\u003e/tasks/?user=me: Get tasks of current logged in user in a project\n\nGET projects/\u003cproject_id_here\u003e/tasks/?user=\u003cusername\u003e: Get all of the tasks of \u003cusername\u003e in a porject\n\nPOST /tasks/: Add a new tasks to a project\n\nPUT /tasks/\u003ctask_id_here\u003e/: Update a task\n\nDELETE /tasks/\u003ctask_id_here\u003e/: Delete a task\n\n```\n\n## Endpoints Behavior\n\n### Project Endpoint\n- Every authenticated user can create a new project\n- Creator of project is considered as Project Manager\n- Project manager has full control over the project\n- Developers' (members field) username must be sent on creation\n- Developers have read-only access thus they can't update or remove a project\n- Developers can retrieve user specific or all of the tasks of their project\n- Projects show up when target user is either a project manager or a developer, otherwise they're not accessable\n  \n### Task Endpoint\n- Project manager has full control over task creation and assigning them to developers\n- A developer of project can add a task which will be automatically assigned to himself a.k.a developer doesn't have this right to assign a task to other developers\n- Author of task (project manager or developer) can update or delete the task\n- Assignees can update (delete not allowed) task status/name/description\n\n## Recommended Improvements\n- Endpoints to calculate developers performance\n- Implementing cache system\n- Custom user model to use email field as username\n- Using a lint action on github","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falimghmi%2Ftodev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falimghmi%2Ftodev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falimghmi%2Ftodev/lists"}