{"id":22940849,"url":"https://github.com/scottgriv/go-json_task_manager_api","last_synced_at":"2025-06-22T03:33:50.836Z","repository":{"id":187355555,"uuid":"676762614","full_name":"scottgriv/go-json_task_manager_api","owner":"scottgriv","description":"This is a simple Task Manager API written in Go. The API provides basic CRUD (Create, Read, Update, Delete) functionality to manage tasks. Tasks are saved in a tasks.json file for persistence.","archived":false,"fork":false,"pushed_at":"2025-01-09T04:12:35.000Z","size":388,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T01:56:10.825Z","etag":null,"topics":["api","go","json","notes","notes-app","notes-application","notes-taking-app","notes-tool"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scottgriv.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}},"created_at":"2023-08-10T00:45:49.000Z","updated_at":"2025-01-09T04:12:38.000Z","dependencies_parsed_at":"2024-06-19T13:35:47.315Z","dependency_job_id":"c6cea0c6-b302-46eb-8033-8ef4d59c1460","html_url":"https://github.com/scottgriv/go-json_task_manager_api","commit_stats":null,"previous_names":["scottgriv/go-json_task_manager_api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scottgriv/go-json_task_manager_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottgriv%2Fgo-json_task_manager_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottgriv%2Fgo-json_task_manager_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottgriv%2Fgo-json_task_manager_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottgriv%2Fgo-json_task_manager_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scottgriv","download_url":"https://codeload.github.com/scottgriv/go-json_task_manager_api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottgriv%2Fgo-json_task_manager_api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261231408,"owners_count":23127996,"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":["api","go","json","notes","notes-app","notes-application","notes-taking-app","notes-tool"],"created_at":"2024-12-14T13:32:42.208Z","updated_at":"2025-06-22T03:33:45.817Z","avatar_url":"https://github.com/scottgriv.png","language":"Go","readme":"\u003c!-- Begin README --\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://github.com/scottgriv/go-json_task_manager_api\" target=\"_blank\"\u003e\n        \u003cimg src=\"./docs/images/icon.png\" width=\"150\" height=\"150\"/\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://golang.org/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Go-1.21.4-00ADD8?style=for-the-badge\u0026logo=go\" alt=\"Go Badge\" /\u003e\u003c/a\u003e\n    \u003cbr\u003e\n    \u003ca href=\"https://github.com/scottgriv\"\u003e\u003cimg src=\"https://img.shields.io/badge/github-follow_me-181717?style=for-the-badge\u0026logo=github\u0026color=181717\" alt=\"GitHub Badge\" /\u003e\u003c/a\u003e\n    \u003ca href=\"mailto:scott.grivner@gmail.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/gmail-contact_me-EA4335?style=for-the-badge\u0026logo=gmail\" alt=\"Email Badge\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.buymeacoffee.com/scottgriv\"\u003e\u003cimg src=\"https://img.shields.io/badge/buy_me_a_coffee-support_me-FFDD00?style=for-the-badge\u0026logo=buymeacoffee\u0026color=FFDD00\" alt=\"BuyMeACoffee Badge\" /\u003e\u003c/a\u003e\n    \u003cbr\u003e\n    \u003ca href=\"https://prgportfolio.com\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/PRG-Bronze Project-CD7F32?style=for-the-badge\u0026logo=data:image/svg%2bxml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iMjYuMDAwMDAwcHQiIGhlaWdodD0iMzQuMDAwMDAwcHQiIHZpZXdCb3g9IjAgMCAyNi4wMDAwMDAgMzQuMDAwMDAwIgogcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCI+Cgo8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwzNC4wMDAwMDApIHNjYWxlKDAuMTAwMDAwLC0wLjEwMDAwMCkiCmZpbGw9IiNDRDdGMzIiIHN0cm9rZT0ibm9uZSI+CjxwYXRoIGQ9Ik0xMiAzMjggYy04IC04IC0xMiAtNTEgLTEyIC0xMzUgMCAtMTA5IDIgLTEyNSAxOSAtMTQwIDQyIC0zOCA0OAotNDIgNTkgLTMxIDcgNyAxNyA2IDMxIC0xIDEzIC03IDIxIC04IDIxIC0yIDAgNiAyOCAxMSA2MyAxMyBsNjIgMyAwIDE1MCAwCjE1MCAtMTE1IDMgYy04MSAyIC0xMTkgLTEgLTEyOCAtMTB6IG0xMDIgLTc0IGMtNiAtMzMgLTUgLTM2IDE3IC0zMiAxOCAyIDIzCjggMjEgMjUgLTMgMjQgMTUgNDAgMzAgMjUgMTQgLTE0IC0xNyAtNTkgLTQ4IC02NiAtMjAgLTUgLTIzIC0xMSAtMTggLTMyIDYKLTIxIDMgLTI1IC0xMSAtMjIgLTE2IDIgLTE4IDEzIC0xOCA2NiAxIDc3IDAgNzIgMTggNzIgMTMgMCAxNSAtNyA5IC0zNnoKbTExNiAtMTY5IGMwIC0yMyAtMyAtMjUgLTQ5IC0yNSAtNDAgMCAtNTAgMyAtNTQgMjAgLTMgMTQgLTE0IDIwIC0zMiAyMCAtMTgKMCAtMjkgLTYgLTMyIC0yMCAtNyAtMjUgLTIzIC0yNiAtMjMgLTIgMCAyOSA4IDMyIDEwMiAzMiA4NyAwIDg4IDAgODggLTI1eiIvPgo8L2c+Cjwvc3ZnPgo=\" alt=\"Bronze\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---------------\n\n\u003ch1 align=\"center\"\u003eGo JSON Task Manager API\u003c/h1\u003e\n\nThis is a simple Task Manager API written in Go. The API provides basic CRUD (Create, Read, Update, Delete) functionality to manage tasks. Tasks are saved in a tasks.json file for persistence.\n\n---------------\n\n## Table of Contents\n\n- [Getting Started](#getting-started)\n  - [Installation](#installation)\n  - [Usage](#usage)\n  - [Testing](#testing)\n- [What's Inside?](#whats-inside)\n- [Resources](#resources)\n- [License](#license)\n- [Credits](#credits)\n\n## Getting Started\n\n### Installation\n\n1. Clone the Repository:\n\n```bash\ngit clone https://github.com/scottgriv/go-json_task_manager_api\n```\n\n2. Change to the Directory:\n\n```bash\ncd go-json-task-manager-api\n```\n\n3. Run the Server:\n```bash\ngo run .\n```\n4. The server should now be running on http://localhost:8080.\n\n### Usage\n\n```GET /tasks: Retrieve a list of all Tasks.```\n\nResponse:\n```json\n[\n  { \"id\": 1, \"name\": \"Sample Task\" },\n  { \"id\": 2, \"name\": \"Modified Task\" }\n]\n\n```\n\n```POST /task/create: Create a new Task.```\n\nBody:\n```json\n{\n  \"name\": \"Your Task Name\"\n}\n```\n\n```DELETE /task/delete: Delete a Task by its ID.```\n\nBody:\n```json\n{\n  \"id\": 1\n}\n```\n\n```PUT /task/update: Update an existing Task by its ID or create a new one if it doesn't exist.```\n\nBody:\n```json\n{\n  \"id\": 1,\n  \"name\": \"Updated Task Name\"\n}\n```\n\n```PATCH /task/modify: Update specific fields of an existing Task by its ID.```\n\nBody:\n```json\n{\n  \"id\": 1,\n  \"name\": \"Modified Task Name\"\n}\n```\n\n### Testing\n\nUse a tool like [Postman](https://www.postman.com/) or [curl](https://curl.se/) to send requests to the server and test each endpoint. You can also import the included Postman collection in the [api](api) directory to get started.\n\n## What's Inside?\n\n```bash\ngo-json_task_manager_api/ # Root directory\n├── main.go # Entry point\n├── router.go # Routes\n├── handlers.go # Request handlers\n├── tasks.go # Task model\n├── postman/ # Postman collection\n│   └── go-json_task_manager_api.postman_collection.json # Import this file into Postman\n├── sample/ # Sample data\n│   └── tasks_sample_output.json # Sample output from GET /tasks\n├── tasks.json # Tasks data file\n├── .gitignore # git ignore file\n├── LICENSE # License file\n└── README.md # This file\n```\n\n## Resources\n\n- [Go](https://golang.org/)\n- [Go Documentation](https://golang.org/doc/)\n- [Go by Example](https://gobyexample.com/)\n- [Go Tutorial](https://www.golangtutorial.dev/)\n\n## License\n\nThis project is released under the terms of **The Unlicense**, which allows you to use, modify, and distribute the code as you see fit. \n- [The Unlicense](https://choosealicense.com/licenses/unlicense/) removes traditional copyright restrictions, giving you the freedom to use the code in any way you choose.\n- For more details, see the [LICENSE](LICENSE) file in this repository.\n\n## Credits\n\n**Author:** [Scott Grivner](https://github.com/scottgriv) \u003cbr\u003e\n**Email:** [scott.grivner@gmail.com](mailto:scott.grivner@gmail.com) \u003cbr\u003e\n**Website:** [scottgrivner.dev](https://www.scottgrivner.dev) \u003cbr\u003e\n**Reference:** [Main Branch](https://github.com/scottgriv/go-json_task_manager_api) \u003cbr\u003e\n\n---------------\n\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://scottgrivner.dev\" target=\"_blank\"\u003e\n        \u003cimg src=\"./docs/images/footer.png\" width=\"100\" height=\"100\"/\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n\u003c!-- End README --\u003e\n","funding_links":["https://www.buymeacoffee.com/scottgriv"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottgriv%2Fgo-json_task_manager_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscottgriv%2Fgo-json_task_manager_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottgriv%2Fgo-json_task_manager_api/lists"}