{"id":28485729,"url":"https://github.com/jdboisvert/quotes-service-go","last_synced_at":"2025-09-19T01:46:38.689Z","repository":{"id":152570945,"uuid":"509518775","full_name":"jdboisvert/quotes-service-go","owner":"jdboisvert","description":"A simple Go Rest CRUD API for Quotes using the Gorilla Mux Router. ","archived":false,"fork":false,"pushed_at":"2022-09-29T03:24:01.000Z","size":8171,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-26T10:51:26.755Z","etag":null,"topics":["go","golang","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Go","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/jdboisvert.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":"2022-07-01T16:17:39.000Z","updated_at":"2023-02-20T03:55:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"06366399-460e-4ae7-8f87-6f62a95fbdc6","html_url":"https://github.com/jdboisvert/quotes-service-go","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jdboisvert/quotes-service-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdboisvert%2Fquotes-service-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdboisvert%2Fquotes-service-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdboisvert%2Fquotes-service-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdboisvert%2Fquotes-service-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdboisvert","download_url":"https://codeload.github.com/jdboisvert/quotes-service-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdboisvert%2Fquotes-service-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275867640,"owners_count":25542801,"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-09-18T02:00:09.552Z","response_time":77,"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":["go","golang","rest-api"],"created_at":"2025-06-08T00:40:27.301Z","updated_at":"2025-09-19T01:46:38.631Z","avatar_url":"https://github.com/jdboisvert.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quotes-service-go\nA simple Go CRUD API for Quotes written in Go. For the sake of simplicity this is only using an in memory slice to hold the quote values. Quotes are immutable in this application.\n\n## Quick Start \n\n```\n# install golang\nbrew install golang\n\n# install the golangci linter\n# more details: https://golangci-lint.run/\nbrew install golangci-lint\n```\n\n### Downloading dependencies\n```\ngo mod download\n```\n\n### Building Locally\n```\n# Make build\ngo build main.go\n\n# Run application\ngo run main.go\n```\n\n### Running unit tests\n```\n# Runs all the tests present in the tests directory\ngo test -v ./tests/*.go\n```\n\n## API Documentation\nThe API supports the following requests:\n- Health Check\n    - Method: GET\n    - URL: /health\n    - Responses: \n        - 200: Application is healthy. \n\n-   Create quote\n    -   Method: POST\n    -   URL: /api/v1/quotes\n    -   Parameters:\n        -   id: The id you wish to insert (ex: \"3\") (required)\n        -   quote: Quote in quection (ex: 'Live life')(required)\n        -   author_name: Person who the quote belongs to (ex: 'Morgan Freeman') (required)\n    -   Responses:\n        -   201: Quote created successfully\n\n\n-   Get a list of all the quotes\n    -   Method: GET\n    -   URL: /api/v1/quotes\n    -   Responses:\n        -   200: Get all quotes successfully\n\n\n-   Read details of a quote\n    -   Method: GET\n    -   URL: /api/v1/quotes/{id}\n    -   {id}: The id of the quote in question\n    -   Responses:\n        -   200: Got quote successfully\n        -   404: Quote does not exist\n\n\n-   Delete a quote\n    -   Method: DELETE\n    -   URL: /api/v1/quotes/{id}\n    -   {id}: The id of the quote in question\n    -   Responses:\n        -   200: Quote deleted successfully\n        -   404: Quote does not exist","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdboisvert%2Fquotes-service-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdboisvert%2Fquotes-service-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdboisvert%2Fquotes-service-go/lists"}