{"id":19454825,"url":"https://github.com/fancellu/http4s-db-example","last_synced_at":"2025-04-25T05:30:40.355Z","repository":{"id":71450695,"uuid":"256340581","full_name":"fancellu/http4s-db-example","owner":"fancellu","description":"http4s + H2 + Doobie + Quill + flywaydb + Cats Effect example","archived":false,"fork":false,"pushed_at":"2023-02-01T16:53:47.000Z","size":15,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T16:52:11.702Z","etag":null,"topics":["cats-effect","doobie","flywaydb","h2-database","http4s","quill"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/fancellu.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":"2020-04-16T22:06:16.000Z","updated_at":"2025-04-02T12:01:07.000Z","dependencies_parsed_at":"2023-03-01T12:15:43.111Z","dependency_job_id":null,"html_url":"https://github.com/fancellu/http4s-db-example","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/fancellu%2Fhttp4s-db-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fhttp4s-db-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fhttp4s-db-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fhttp4s-db-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fancellu","download_url":"https://codeload.github.com/fancellu/http4s-db-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250760582,"owners_count":21482831,"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":["cats-effect","doobie","flywaydb","h2-database","http4s","quill"],"created_at":"2024-11-10T17:12:10.246Z","updated_at":"2025-04-25T05:30:40.329Z","avatar_url":"https://github.com/fancellu.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# http4s-db-example\n\nhttp4s + H2 + Doobie + Quill + flywaydb + Cats Effect\n\n## To run\n\nEither run `MyMain` or `sbt run`\n\nIt should be on localhost:8080\n\n## DB\n\n3 tables: video, tags, and a videotag join table\n\n## Video Endpoints\n\nGET http://localhost:8080/video\n\nShow all videos\n\nGET http://localhost:8080/video/1\n\nShow certain video\n\nGET http://localhost:8080/video/tags/1\n\nShow tags for certain video\n\nPOST http://localhost:8080/video/tags/[id]?tags=1,2,3\n\nSet tags for certain video\n\nPOST http://localhost:8080/video/[name]\n\nCreate a new video\n\n## Tag Endpoints\n\nGET http://localhost:8080/tag\n\nShow all tags\n\nGET http://localhost:8080/tag/1\n\nShow certain tag\n\nPOST http://localhost:8080/tag/[name]\n\nCreate a new tag\n\n## VideoTag Endpoints\n\nGET http://localhost:8080/videotag\n\nShow all videotags\n\nGET http://localhost:8080/videotag/1\n\nShow certain videotag\n\nPOST http://localhost:8080/videotag/[videoid]/[tagid]\n\nCreate a new videotag (may well be easier to use the batch POST /video/tags/[id]?tags=1,2,3 call)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffancellu%2Fhttp4s-db-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffancellu%2Fhttp4s-db-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffancellu%2Fhttp4s-db-example/lists"}