{"id":20598049,"url":"https://github.com/albertoadami/user-api-service-example","last_synced_at":"2025-06-30T08:05:03.998Z","repository":{"id":49642157,"uuid":"258030725","full_name":"albertoadami/user-api-service-example","owner":"albertoadami","description":"Example of REST APIs service using http4s library","archived":false,"fork":false,"pushed_at":"2022-09-20T12:14:59.000Z","size":101,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T01:11:50.200Z","etag":null,"topics":["cats-effect","functional-programming","http4s","rest-api","scala"],"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/albertoadami.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":"2020-04-22T22:06:28.000Z","updated_at":"2023-10-03T12:35:19.000Z","dependencies_parsed_at":"2023-01-18T15:31:01.308Z","dependency_job_id":null,"html_url":"https://github.com/albertoadami/user-api-service-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/albertoadami%2Fuser-api-service-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertoadami%2Fuser-api-service-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertoadami%2Fuser-api-service-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertoadami%2Fuser-api-service-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albertoadami","download_url":"https://codeload.github.com/albertoadami/user-api-service-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242231867,"owners_count":20093721,"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","functional-programming","http4s","rest-api","scala"],"created_at":"2024-11-16T08:24:53.876Z","updated_at":"2025-03-06T15:23:00.147Z","avatar_url":"https://github.com/albertoadami.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# user-api\nExample of REST APIs written in Scala that allow to create and manage users in a SQL datastore.\n\n## Technology stack\n\nThe project is using the following technology Stack:\n* Scala\n* Http4s\n* Cats Effect\n* Doobie\n* Postgres\n\n\nThe Project uses a multi-mobule Sbt project, that's composed by the following modules:\n* service: contains the code about the REST api itself;\n* end-to-end: contains public api tests on the multiple REST APIs;\n* performance: contains the load tests scenario for the REST APIs using Gatling;\n\n## How to run\nTo run the application you need to have the following dependencies installed on your machine:\n* `Scala` and `sbt` installed;\n* `Java 11` installed;\n* `Docker engine installed`.\n\nTo build the project to run it's needed to build the Docker image with command `sbt 'service/docker:publishLocal`.\n\nTo run the end-to-end tests you can do it with the command `sbt 'end-to-end/test'.`\n\nInstead to run the performance test in your local machine the procedure is the following:\n* `dockerComposeUp:` to run the Postgres instance and the rest api container;\n* `sbt 'project performance; gatling:test':` to run the performance test using Gatling on the local machine.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoadami%2Fuser-api-service-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertoadami%2Fuser-api-service-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoadami%2Fuser-api-service-example/lists"}