{"id":19766203,"url":"https://github.com/akaliutau/vertx-stepcounter","last_synced_at":"2026-05-15T14:07:47.298Z","repository":{"id":120056317,"uuid":"368188943","full_name":"akaliutau/vertx-stepcounter","owner":"akaliutau","description":"Step counter microservice with Kafka as a data source, Postgres as a persistence layer and a Vert.x as a basis for microservice","archived":false,"fork":false,"pushed_at":"2021-05-18T14:23:04.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T10:55:22.462Z","etag":null,"topics":["java","kafka","vertx-web","vertx4"],"latest_commit_sha":null,"homepage":"","language":"Java","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/akaliutau.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":"2021-05-17T13:07:14.000Z","updated_at":"2021-05-18T14:23:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"14cc190b-6e07-4f50-a7bf-4446bef176ae","html_url":"https://github.com/akaliutau/vertx-stepcounter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akaliutau/vertx-stepcounter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akaliutau%2Fvertx-stepcounter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akaliutau%2Fvertx-stepcounter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akaliutau%2Fvertx-stepcounter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akaliutau%2Fvertx-stepcounter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akaliutau","download_url":"https://codeload.github.com/akaliutau/vertx-stepcounter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akaliutau%2Fvertx-stepcounter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33068935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["java","kafka","vertx-web","vertx4"],"created_at":"2024-11-12T04:23:04.513Z","updated_at":"2026-05-15T14:07:47.282Z","avatar_url":"https://github.com/akaliutau.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Generic badge](https://img.shields.io/badge/vert.x-4.0.3-purple.svg)](https://vertx.io)\n\nAbout\n======\n\nThis is a simple server application which implements a simple CRUD service with Postgres as a backend and reactive API, built on the basis of Vert.x framework\n\nDemonstrates the using of the following technologies:\n\n* Apache Kafka as a source of data to persist\n\n* Exposing public end points to access the data saved in the database\n\n* Test containers for integration tests \n\npublic api:\n\n| Method | Endpoint                   |Secure|      Description                                  |\n|--------|----------------------------|------|---------------------------------------------------|\n|GET     |  /deviceId/total           |  No  |    value of counter for specific device           |\n|GET     |  /deviceId/year/month      |  No  |    value of counter for specific month on device  |\n|GET     |  /deviceId/year/month/day  |  No  |    value of counter for specific day on device    |\n\n\nBuilding\n=========\n\n\nTo launch your tests:\n\n```\nmvn clean test\n```\n\nTo package your application:\n\n```\nmvn clean package\n```\n\nTo run your application:\n\n```\njava -cp ./target/vxcore-1.0.0-SNAPSHOT-fat.jar verticle.StepServer \n```\n\nRun all containers, then create a record in \u003ccode\u003estep\u003c/code\u003e table with device_id=1\n\nPerform the GET request to the following endpoint: \n\n```\nGET http://localhost:3001/1/total\n\n{\"count\":123}\n```\n\n\nReference\n==========\n\n\n* [Vert.x Documentation](https://vertx.io/docs/)\n* [Vert.x Stack Overflow](https://stackoverflow.com/questions/tagged/vert.x?sort=newest\u0026pageSize=15)\n* [Vert.x Initializr](http://start.vertx.io)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakaliutau%2Fvertx-stepcounter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakaliutau%2Fvertx-stepcounter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakaliutau%2Fvertx-stepcounter/lists"}