{"id":24144871,"url":"https://github.com/conscious-puppet/book-store","last_synced_at":"2025-10-07T02:12:47.932Z","repository":{"id":174375688,"uuid":"652130765","full_name":"conscious-puppet/book-store","owner":"conscious-puppet","description":"simple crud app using Servant Haskell that utilises the NamedRoutes","archived":false,"fork":false,"pushed_at":"2023-06-22T15:20:53.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T15:14:14.990Z","etag":null,"topics":["haskell","servant"],"latest_commit_sha":null,"homepage":"","language":"Haskell","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/conscious-puppet.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}},"created_at":"2023-06-11T07:25:35.000Z","updated_at":"2023-06-11T10:03:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"f5c49be2-fb2e-414c-93ad-9583f00a978d","html_url":"https://github.com/conscious-puppet/book-store","commit_stats":null,"previous_names":["abshekh/book-store","conscious-puppet/book-store"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/conscious-puppet/book-store","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conscious-puppet%2Fbook-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conscious-puppet%2Fbook-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conscious-puppet%2Fbook-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conscious-puppet%2Fbook-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/conscious-puppet","download_url":"https://codeload.github.com/conscious-puppet/book-store/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conscious-puppet%2Fbook-store/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708004,"owners_count":26031932,"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-07T02:00:06.786Z","response_time":59,"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":["haskell","servant"],"created_at":"2025-01-12T06:13:17.008Z","updated_at":"2025-10-07T02:12:47.908Z","avatar_url":"https://github.com/conscious-puppet.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# book-store\n\n## Routes\n```\n@route   GET /version\n@desc    App version\n\n@route   GET /healthcheck\n@desc    Healthcheck API\n\n@route   GET /books\n@desc    Get all books\n@resp\n[\n    {\n        \"id\": \"52302b94-5241-4cac-ad1a-6d42c73a93ee\",\n        \"name\": \"The Heart Is a Lonely Hunter\",\n        \"author\": \"Carson McCullers\"\n    },\n    {\n        \"id\": \"01136e18-a56e-420a-8e2c-db3319745255\",\n        \"name\": \"The Lord of the Rings\",\n        \"author\": \"J. R. R. Tolkien\"\n    }\n]\n\n@route   GET /books/:id\n@desc    Get a book by id\n@resp\n{\n    \"id\": \"01136e18-a56e-420a-8e2c-db3319745255\",\n    \"name\": \"The Lord of the Rings\",\n    \"author\": \"J. R. R. Tolkien\"\n}\n\n@route   POST /books\n@desc    Create a new book\n@req\n{\n    \"name\": \"Heart Is a Lonely Hunter\",\n    \"author\": \"Carson McCullers\"\n}\n@resp\n{\n    \"id\": \"52302b94-5241-4cac-ad1a-6d42c73a93ee\",\n    \"name\": \"Heart Is a Lonely Hunter\",\n    \"author\": \"Carson McCullers\"\n}\n\n@route   POST /books\n@desc    Update a book by id\n@req\n{\n    \"id\": \"52302b94-5241-4cac-ad1a-6d42c73a93ee\",\n    \"name\": \"The Heart Is a Lonely Hunter\",\n    \"author\": \"Carson McCullers\"\n}\n@resp\n{\n    \"id\": \"52302b94-5241-4cac-ad1a-6d42c73a93ee\",\n    \"name\": \"The Heart Is a Lonely Hunter\",\n    \"author\": \"Carson McCullers\"\n}\n\n@route   DELETE /books/:id\n@desc    Delete a book by id\n@resp    NoContent\n```\n\n## TODOs:\n- add proper error response message\n- send confirmation if delete was successful\n- updating a non-existant book results in nothing, should throw an error\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconscious-puppet%2Fbook-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconscious-puppet%2Fbook-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconscious-puppet%2Fbook-store/lists"}