{"id":15129864,"url":"https://github.com/mrbowis/todo","last_synced_at":"2026-01-18T23:01:57.508Z","repository":{"id":256643335,"uuid":"855529146","full_name":"MrBowis/ToDo","owner":"MrBowis","description":"This is a microservice project that contains a ToDo list using Django and Django-RestFramework, includes a Login made with Django and Django-RestFramework, and a Client made with NextJs","archived":false,"fork":false,"pushed_at":"2024-10-20T00:46:03.000Z","size":551,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T17:13:58.445Z","etag":null,"topics":["django","django-rest-framework","docker","docker-compose","nextjs"],"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/MrBowis.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-09-11T02:40:00.000Z","updated_at":"2024-10-20T00:46:07.000Z","dependencies_parsed_at":"2024-09-12T07:02:43.845Z","dependency_job_id":"dd33b28c-9155-46e5-beea-6fafea7d31f6","html_url":"https://github.com/MrBowis/ToDo","commit_stats":null,"previous_names":["mrbowis/todo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrBowis%2FToDo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrBowis%2FToDo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrBowis%2FToDo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrBowis%2FToDo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrBowis","download_url":"https://codeload.github.com/MrBowis/ToDo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247386931,"owners_count":20930738,"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","docker","docker-compose","nextjs"],"created_at":"2024-09-26T02:21:58.193Z","updated_at":"2026-01-18T23:01:57.478Z","avatar_url":"https://github.com/MrBowis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ToDoList-Django\n\nThis is a porject ToDo List application built with Django for the main microservice and login service, for the client use NextJS.\n\n## Prerequisites\n\n- Python 3.x\n- pip (Python package installer)\n- virtualenv\n- Docker\n- NodeJS\n\n## Setup\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/yourusername/ToDoList-Django.git\ncd ToDo\n```\n\n### 2. Create and Activate Virtual Environment\n\nYou can use the following command to create a virtual environment:\n```bash\npython -m venv venv\n```\nThen you can activate the virtual environment using the following command:\n\nLinux/Mac:\n```bash\nsource venv/bin/activate\n```\nWindows:\n```bash\nvenv\\Scripts\\activate\n```\n\n### 3. Start containers\n\n```bash\ndocker compose up --build\n```\n\n- Visit `http://127.0.0.1:8000` in your browser to see the _**To Do**_ application.\n- Visit `http://127.0.0.1:8002` in your browser to see the _**Login**_ application.\n- Visit `http://127.0.0.1:3000` in your browser to see the _**Client**_ application.\n\n## Explanation - To Do\nThis project is a simple CRUD application using Django. It allows you to create, read, update and delete records from a database. The application has a two models called `Task` and `Comments` with the following fields:\n- Task\n    - Task\n    - Completed\n    - Group\n    - Created Date\n    - Updated Date\n- Group\n    - Name\n\nThe application also has a REST API that allows you to perform CRUD operations on the tasks and Group of task. The API has the following endpoints:\n\n- `/api/task/`\n    - GET: Get a list of all tasks\n    - POST: Create a new task\n- `/api/task/{id}/`\n    - GET: Get the details of a specific task\n    - PUT: Update a specific task\n    - DELETE: Delete a specific task\n- `/api/group/`\n    - GET: Get a list of all comments\n    - POST: Create a new comment\n- `/api/group/{id}/`\n    - GET: Get the details of a specific comment\n    - PUT: Update a specific comment\n    - DELETE: Delete a specific comment\n\n## Explanation - Login\n\nThere are three main routes for this microservice:\n\n- `/login`\n    - POST: The body use the json bellow but `id` is optional and respose a token\n```json\n{\n    \"id\": \"\",\n    \"username\": \"\",\n    \"email\": \"\",\n    \"password\": \"\"\n}\n```\n- `/register`\n    - POST: The body use the json bellow and respose a token\n```json\n{\n    \"username\": \"\",\n    \"password\": \"\"\n}\n```\n- `/profile`\n    - GET: use Authentication parameter with token to obtain the data of any user who has registered \n\n## License\n\nThis project is licensed under the MIT License.\n\n\n## Author\n[Alejandro Andrade](https://github.com/MrBowis)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrbowis%2Ftodo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrbowis%2Ftodo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrbowis%2Ftodo/lists"}