{"id":15138527,"url":"https://github.com/danielmachadovasconcelos/base-vertx-spring","last_synced_at":"2026-02-11T18:30:54.112Z","repository":{"id":42018100,"uuid":"482770182","full_name":"DanielMachadoVasconcelos/base-vertx-spring","owner":"DanielMachadoVasconcelos","description":"Base application that mix vertx reactive with spring boot ","archived":false,"fork":false,"pushed_at":"2022-04-20T18:41:45.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T09:18:51.431Z","etag":null,"topics":["gradle","postgres","spring-boot","vertx"],"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/DanielMachadoVasconcelos.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}},"created_at":"2022-04-18T08:21:31.000Z","updated_at":"2022-04-18T08:42:50.000Z","dependencies_parsed_at":"2022-08-12T02:31:04.827Z","dependency_job_id":null,"html_url":"https://github.com/DanielMachadoVasconcelos/base-vertx-spring","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DanielMachadoVasconcelos/base-vertx-spring","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMachadoVasconcelos%2Fbase-vertx-spring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMachadoVasconcelos%2Fbase-vertx-spring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMachadoVasconcelos%2Fbase-vertx-spring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMachadoVasconcelos%2Fbase-vertx-spring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielMachadoVasconcelos","download_url":"https://codeload.github.com/DanielMachadoVasconcelos/base-vertx-spring/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMachadoVasconcelos%2Fbase-vertx-spring/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272077690,"owners_count":24869288,"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-08-25T02:00:12.092Z","response_time":1107,"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":["gradle","postgres","spring-boot","vertx"],"created_at":"2024-09-26T07:40:41.047Z","updated_at":"2026-02-11T18:30:54.052Z","avatar_url":"https://github.com/DanielMachadoVasconcelos.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Order Service\n## Base vertx with Spring Boot\n\n#### Daniel Machado Vasconcelos\n### Basic requirements (that were implemented):\n* Use Dependency Injection and Inversion of Control;\n* Use Flyway to configure the database tables;\n* Make sure to log all the request to the applications;\n\n### Extra requirements to be done:\n* ~~Replace the console logs for log4j~~\n* ~~Include Postgres database integration~~\n* Expose metrics and health checks\n* Provide authentication and authorisation\n* ~~Replace the JsonObjects for Data Models~~\n* Make sure to log `correlation_id` and `event_id`\n\n---\nPrerequisites\n-------------\n\n* Java JDK 17\n* Gradle\n* Docker / Docker Compose\n\n#### Resources\n* Postgres\n\n### Tech Stack usage\n\n**Postgres**\n\nSimple SQL database to persist the data. It can be flexible to use json data in a event source style\n\n## How to build?\n\nStart the external resources by running the docker-compose file. (It may take a while to start all resources)\n```bash\ndocker-compose up -d \n```\n\nStart the service that expose the REST API by running the class: `Application.java`\n\n\n####Use the following commands to place an order and fetch orders by id :\n\n### To place an order\n```bash\ncurl --location --request POST 'localhost:8080/orders' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"order_id\": \"123456789\",\n    \"amount\": 4500\n}'\n```\n### To get the order\n```bash\ncurl --location --request GET 'localhost:8080/orders/{order_id}' \\\n--header 'Content-Type: application/json' \\\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielmachadovasconcelos%2Fbase-vertx-spring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielmachadovasconcelos%2Fbase-vertx-spring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielmachadovasconcelos%2Fbase-vertx-spring/lists"}