{"id":15035088,"url":"https://github.com/kayooliveira/dinodo-api-go","last_synced_at":"2026-02-18T20:31:22.471Z","repository":{"id":216011505,"uuid":"740214085","full_name":"kayooliveira/dinodo-api-go","owner":"kayooliveira","description":"An API made in GO for a React Native Task List application.","archived":false,"fork":false,"pushed_at":"2024-01-10T05:25:05.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"current","last_synced_at":"2025-03-13T16:34:12.108Z","etag":null,"topics":["api","ddd","go","golang","rest"],"latest_commit_sha":null,"homepage":"https://dinodo.kayooliveira.com","language":"Go","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/kayooliveira.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":"2024-01-07T21:04:28.000Z","updated_at":"2024-01-08T22:37:34.000Z","dependencies_parsed_at":"2024-01-08T00:22:40.129Z","dependency_job_id":"11f5c8b5-3478-4105-8c5c-c33516b78fd4","html_url":"https://github.com/kayooliveira/dinodo-api-go","commit_stats":null,"previous_names":["kayooliveira/dinodo-api-go"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kayooliveira/dinodo-api-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayooliveira%2Fdinodo-api-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayooliveira%2Fdinodo-api-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayooliveira%2Fdinodo-api-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayooliveira%2Fdinodo-api-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kayooliveira","download_url":"https://codeload.github.com/kayooliveira/dinodo-api-go/tar.gz/refs/heads/current","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayooliveira%2Fdinodo-api-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29594259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T18:54:29.675Z","status":"ssl_error","status_checked_at":"2026-02-18T18:50:50.517Z","response_time":162,"last_error":"SSL_read: 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":["api","ddd","go","golang","rest"],"created_at":"2024-09-24T20:27:28.198Z","updated_at":"2026-02-18T20:31:22.435Z","avatar_url":"https://github.com/kayooliveira.png","language":"Go","readme":"# DinoDO - Go-based Todo List API\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://i.imgur.com/FHyvrxG.png\" alt=\"DinoDO\" style=\"height: 300px;\"/\u003e\n\u003c/p\u003e\n\n## Description\n\nDinoDO is a simple Todo List API developed in Go, utilizing the following tools:\n\n- [gin-gonic](https://github.com/gin-gonic/gin) - Web framework for Go\n- [gorm](https://gorm.io/) - Go ORM\n- [uuid](https://github.com/google/uuid) - UUID generation in Go\n- [godotenv](https://github.com/joho/godotenv) - Loading environment variables in Go\n\nThe application uses a MySQL database to store tasks.\n\n## Features\n\n- **Task Creation**: Add new tasks to the list.\n- **Task Editing**: Update the content or status of an existing task.\n- **Task Listing**: View all available tasks.\n- **Task Listing By ID**: View task by provided ID.\n- **Delete Tasks**: Remove tasks from the list.\n- **JWT Authentication**: Secure routes with JSON Web Token authentication.\n\n## Configuration\n\n1. Install dependencies:\n\n    ```bash\n        go mod tidy\n    ```\n\n2. Set up environment variables:\n\n   - Create a `.env` file in the project root and configure the necessary variables. An example is provided in the `.env.example` file.\n\n3. Run the application:\n\n    ```bash\n    go run main.go\n    ```\n\n   The application will be available at `http://localhost:4000`.\n\n## Usage Examples\n\n### Task Creation\n\n```bash\ncurl -X POST http://localhost:4000/api/v1/tasks -d '{\"task\": \"New Task\", \"finished\":false}'\n```\n\n### Task Editing\n\n```bash\ncurl -X PUT http://localhost:4000/api/v1/tasks/{id} -d '{\"title\": \"Updated Task\", \"finished\": true}'\n```\n\n### Task Listing\n\n```bash\ncurl http://localhost:4000/api/v1/tasks\n```\n\n\n### Task Listing By ID\n\n```bash\ncurl http://localhost:4000/api/v1/tasks/{id}\n```\n\n### Delete Task\n\n```bash\ncurl -X DELETE http://localhost:4000/api/v1/tasks/{id}\n```\n\n### User Register\n\n```bash\ncurl -X POST http://localhost:4000/auth/register -d '{\"name\": \"User Name\",\"email\": \"user@email.com\", \"username\": \"example\", \"password\": \"password\"}'\n```\n\n### Get User Details\n\n```bash\ncurl http://localhost:4000/users/{id} -H \"Authorization: Bearer \u003cyour_token\u003e\"\n```\n\n## Contributions\n\nContributions are welcome! Feel free to open issues and pull requests.\n\n## License\n\nThis project is for educational purposes only and is licensed under the MIT License.\n[MIT License](LICENSE).\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayooliveira%2Fdinodo-api-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkayooliveira%2Fdinodo-api-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayooliveira%2Fdinodo-api-go/lists"}