{"id":19834449,"url":"https://github.com/guardrail-dev/guardrail-sample-sbt-http4s-zio","last_synced_at":"2025-05-01T17:31:05.798Z","repository":{"id":42085050,"uuid":"336458325","full_name":"guardrail-dev/guardrail-sample-sbt-http4s-zio","owner":"guardrail-dev","description":"Example of using http4s + catz + zio, clients and servers","archived":false,"fork":false,"pushed_at":"2024-05-05T14:24:49.000Z","size":81,"stargazers_count":4,"open_issues_count":11,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-07T18:27:52.801Z","etag":null,"topics":["guardrail-sample"],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/guardrail-dev.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}},"created_at":"2021-02-06T04:51:13.000Z","updated_at":"2023-12-23T21:29:37.000Z","dependencies_parsed_at":"2023-02-04T07:01:58.167Z","dependency_job_id":null,"html_url":"https://github.com/guardrail-dev/guardrail-sample-sbt-http4s-zio","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guardrail-dev%2Fguardrail-sample-sbt-http4s-zio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guardrail-dev%2Fguardrail-sample-sbt-http4s-zio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guardrail-dev%2Fguardrail-sample-sbt-http4s-zio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guardrail-dev%2Fguardrail-sample-sbt-http4s-zio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guardrail-dev","download_url":"https://codeload.github.com/guardrail-dev/guardrail-sample-sbt-http4s-zio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224270309,"owners_count":17283649,"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":["guardrail-sample"],"created_at":"2024-11-12T12:04:47.093Z","updated_at":"2024-11-12T12:04:47.194Z","avatar_url":"https://github.com/guardrail-dev.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"guardrail-sample-http4s-zio\n===\n\nA simple project to show what a guardrail+http4s+zio service could look like.\n\nSome sample curls:\n\n#### getInventory\n```bash\ncurl localhost:8080/api/v3/store/inventory | jq .\n```\n\n#### getOrderById\n```bash\ncurl localhost:8080/api/v3/store/order/123 | jq .\ncurl localhost:8080/api/v3/store/order/124 # 404\n```\n\n#### placeOrder\n```bash\ncurl localhost:8080/api/v3/store/order \\\n        -H 'Content-Type: application/json' \\\n        --data '{\"id\": 124, \"petId\": 44, \"quantity\": 10}' \\\n        | jq .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguardrail-dev%2Fguardrail-sample-sbt-http4s-zio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguardrail-dev%2Fguardrail-sample-sbt-http4s-zio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguardrail-dev%2Fguardrail-sample-sbt-http4s-zio/lists"}