{"id":20962470,"url":"https://github.com/scarletczen/coffee-manager","last_synced_at":"2026-05-15T22:02:29.973Z","repository":{"id":215090072,"uuid":"738032449","full_name":"scarletczen/coffee-manager","owner":"scarletczen","description":"A sweet and simple CRUD API for coffee lovers like you and me. ","archived":false,"fork":false,"pushed_at":"2024-01-02T12:46:26.000Z","size":4067,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-18T01:02:55.240Z","etag":null,"topics":["chi","go","postgresql"],"latest_commit_sha":null,"homepage":"","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/scarletczen.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}},"created_at":"2024-01-02T08:55:24.000Z","updated_at":"2024-02-08T15:29:43.000Z","dependencies_parsed_at":"2024-01-02T13:34:13.610Z","dependency_job_id":"d5d57b27-98a9-4a7d-9d8c-bad6340142d8","html_url":"https://github.com/scarletczen/coffee-manager","commit_stats":null,"previous_names":["abhinavthapa1998/coffee-manager","scarletczen/coffee-manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scarletczen/coffee-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scarletczen%2Fcoffee-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scarletczen%2Fcoffee-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scarletczen%2Fcoffee-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scarletczen%2Fcoffee-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scarletczen","download_url":"https://codeload.github.com/scarletczen/coffee-manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scarletczen%2Fcoffee-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016933,"owners_count":26085905,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["chi","go","postgresql"],"created_at":"2024-11-19T02:34:20.041Z","updated_at":"2025-10-13T20:08:11.916Z","avatar_url":"https://github.com/scarletczen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Coffee Manager - Go, Chi, PostgreSQL\n[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)\n\nA sweet and simple CRUD API for coffee lovers like you and me.   \n\n\n## Run Locally\n\nClone the project\n\n```bash\n  git clone https://github.com/abhinavthapa1998/coffee-manager.git\n```\nStart the server\n```bash\n  make run\n```\nStop the server\n```bash\n  make stop \n```\nBuild the binary\n```bash\n  make build\n```\n\n\n\n\n## API Reference\n\n#### Get All Coffees\n\n```http\n  GET /api/v1/coffees/coffee\n```\n#### Get Coffee By Id\n```http\n  POST /api/v1/coffees/coffee/{id}\n```\n| Parameter | Type     | Description                |\n| :-------- | :------- | :------------------------- |\n| `id` | `string` | **Required**. id of the coffee |\n\n#### Create Coffee\n```http\n  POST /api/v1/coffees/coffee\n```\n| Parameter | Type     | Description                |\n| :-------- | :------- | :------------------------- |\n| `name` | `string` | **Required**. name of the coffee |\n| `image` | `string` | **Required**. image of the coffee |\n| `region` | `string` | **Required**. region of the coffee |\n| `roast` | `string` | **Required**. roast of the coffee |\n| `price` | `number` | **Required**. price of the coffee (in cents) |\n| `grind_unit` | `string` | **Required**. grind_unit of the coffee |\n\n#### Update Coffee By Id\n```http\n  PUT /api/v1/coffees/coffee/{id}\n```\n| Parameter | Type     | Description                |\n| :-------- | :------- | :------------------------- |\n| `name` | `string` | **Optional**. name of the coffee |\n| `image` | `string` | **Optional**. image of the coffee |\n| `region` | `string` | **Optional**. region of the coffee |\n| `roast` | `string` | **Optional**. roast of the coffee |\n| `price` | `number` | **Optional**. price of the coffee (in cents) |\n| `grind_unit` | `string` | **Optional**. grind_unit of the coffee |\n\n#### Update Coffee By Id\n```http\n  DELETE /api/v1/coffees/coffee/{id}\n```\n| Parameter | Type     | Description                |\n| :-------- | :------- | :------------------------- |\n| `id` | `string` | **Required**. id of the coffee |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscarletczen%2Fcoffee-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscarletczen%2Fcoffee-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscarletczen%2Fcoffee-manager/lists"}