{"id":25171597,"url":"https://github.com/basemax/go-api-todolist","last_synced_at":"2026-05-17T17:10:37.534Z","repository":{"id":144551678,"uuid":"535514519","full_name":"BaseMax/go-api-todolist","owner":"BaseMax","description":"A Todo List (API) Web-service project designed by Go Language and using MongoDB as a database for storing and managing tasks.","archived":false,"fork":false,"pushed_at":"2024-12-11T23:32:47.000Z","size":65,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T11:57:28.199Z","etag":null,"topics":["api","api-rest","go","golang","mongo","mongodb","todo-api","todo-api-go","todo-app","todo-list","todolist"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaseMax.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-09-12T04:46:32.000Z","updated_at":"2023-04-25T18:13:41.000Z","dependencies_parsed_at":"2023-07-10T14:00:35.609Z","dependency_job_id":null,"html_url":"https://github.com/BaseMax/go-api-todolist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BaseMax/go-api-todolist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fgo-api-todolist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fgo-api-todolist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fgo-api-todolist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fgo-api-todolist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaseMax","download_url":"https://codeload.github.com/BaseMax/go-api-todolist/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fgo-api-todolist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33147342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["api","api-rest","go","golang","mongo","mongodb","todo-api","todo-api-go","todo-app","todo-list","todolist"],"created_at":"2025-02-09T09:21:16.680Z","updated_at":"2026-05-17T17:10:37.515Z","avatar_url":"https://github.com/BaseMax.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GO API Todo List\n\nA Web service Todo List (API) project designed by Go Language and using MongoDB as a database for storing and managing tasks.\n\n## Tools\n\n- ENV: https://github.com/joho/godotenv\n- MUX: https://github.com/gorilla/mux\n- Mongo: https://go.mongodb.org/mongo-driver\n\n## API Routes\n\n- **Get a single task**\n  - Route: `host:8000/api/v1/get/{_id}/`\n  - Description: replace {_id} with mongodb document id\n  - Method: GET\n\n- **Get all tasks**\n  - Route: `host:8000/api/v1/get/`\n  - Description: return a list of tasks\n  - Method: GET\n\n- **Insert a new task**\n  - Route: `host:8000/api/v1/craete/`\n  - Description: send a JSON request with these fields:\n  ```json\n    {\n      \"name\": \"name of task\",\n      \"description\": \"info about task\",\n      \"status\": true\n    }\n  ```\n  - method: POST\n\n- **Delete a task**\n  - Route: `host:8000/api/v1/delete/{_id}/`\n  - Description: replace {_id} with desired task id returned in create response\n  - Method: DELETE\n\n- **Update/Edit a task**\n  - Route: `host:8000/api/v1/update/{_id}`\n  - Description: replace {_id} with desired task id and send a JSON in body same as create route.\n  - Method: PUT\n\n## How to run\n\nYou can run this app using 2 methods:\n\n1. **Manual**\n    1. Clone this repo, rename `env.env` to `.env`, fill fields in `.env` file as desired\n    2. Run `go build .`\n    3. Run binary named `./go-api-todolist`\n \n2. **Docker compose**\n    1. Clone this repo.\n    2. Run `docker-compose up -d` and wait for app to run on `localhost:8000`\n\n## Authors\n\n- Amir\n- Max Base\n\n© Copyright 2022, Max Base\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fgo-api-todolist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasemax%2Fgo-api-todolist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fgo-api-todolist/lists"}