{"id":15138491,"url":"https://github.com/iinnffiinniittyy/vert.x_project","last_synced_at":"2026-01-19T18:31:04.717Z","repository":{"id":163955096,"uuid":"637367008","full_name":"IInnffiinniittyy/Vert.X_Project","owner":"IInnffiinniittyy","description":"REST API using Vert.X library. (Layered Architecture)","archived":false,"fork":false,"pushed_at":"2023-05-11T11:05:20.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T14:53:54.042Z","etag":null,"topics":["dao-design-pattern","get","java","post","postman-test","put","rest-api","vertx","vertx-web"],"latest_commit_sha":null,"homepage":"https://vertx.io/docs/","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/IInnffiinniittyy.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":"2023-05-07T10:44:22.000Z","updated_at":"2023-05-11T11:07:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"a49ee073-e156-4291-8fa3-cf85463de75d","html_url":"https://github.com/IInnffiinniittyy/Vert.X_Project","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/IInnffiinniittyy%2FVert.X_Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IInnffiinniittyy%2FVert.X_Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IInnffiinniittyy%2FVert.X_Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IInnffiinniittyy%2FVert.X_Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IInnffiinniittyy","download_url":"https://codeload.github.com/IInnffiinniittyy/Vert.X_Project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457814,"owners_count":20941912,"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":["dao-design-pattern","get","java","post","postman-test","put","rest-api","vertx","vertx-web"],"created_at":"2024-09-26T07:40:19.925Z","updated_at":"2026-01-19T18:31:04.681Z","avatar_url":"https://github.com/IInnffiinniittyy.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vert.X_Project\n\u003cimg height=150px src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/c/c4/Vert.x_Logo.svg/768px-Vert.x_Logo.svg.png?20150609114807\" /\u003e\n\n## Problem Statement.\n\n- To build a GET, PUT and POST API using the VertX framework.\n\n- Focus areas : “Core”, “Web” \u0026 “Database Client” sections.\n\n- To create a “user_info” table in the database with the following columns – “id - UUID”, “name – varchar(64)”, “email – varchar(64)”, “gender – enum (male, female)”, “status – enum (active, inactive)”, “timestamp – datetime with timezone”. \n\n- The id column is the primary key – a new UUID should be generated when the user is created \u0026 timestamp should be updated whenever the user record is created or updated with the current system time.\n\n- Following 3 API need to the exposed and tested using postman : \n\n-  GET API:  \u003cbr/\u003e\n --\u003e Fetches all the records from the user_info table and returns the response in a JSON array. \u003cbr/\u003e\n --\u003e The end point would be “/api/users” with the GET method. \u003cbr/\u003e\n --\u003e Should return HTTP status 200 for success.\n \n-  POST API:  \u003cbr/\u003e\n --\u003e Create a new user – POST to “/api/users”. \u003cbr/\u003e\n --\u003e The user JSON object will be sent in the body with fields “name”, “email”, “gender” \u0026 “status”. \u003cbr/\u003e\n --\u003e The response will be a JSON object that contains the “{ id: \u003cnew UUID of the user\u003e }”.\n  \n-  PUT API:  \u003cbr/\u003e\n --\u003e To update a specific user record – PUT to “/api/users/\u003cuuid\u003e”. \u003cbr/\u003e\n --\u003e The user JSON object will be sent in the body with fields “id”, “name”, “email”, “gender” \u0026 “status”. \u003cbr/\u003e\n --\u003e The response will be a JSON object that contains the “{ id: \u003cUUID of user record updated\u003e }”.  \n\n\u003chr/\u003e\n\n## Technology and Tools Used : \n- Core Java\n- Vert.X library\n- MySQL database\n- JDBC-DAO pattern\n- Git bash\n- Eclipse IDE\n- Postman\n- Google Chrome\n- Notepad\n \n\u003chr/\u003e\n\n## How to run the program.\n- Simply clone this repository on your local system.\n  \n- Open with an IDE that has good support/environment for Java. \n  \n- Force update the project so that all the dependencies of build tools would get resolved for smooth running of the application.\n  \n- Go to the utility package and change the database information as per your system. (You can test, whether connection with the database established or not in your system by running the utility.Testing_Connection.java class) \u003cbr/\u003e\n --\u003eNote: you need to create the table in the database as per the given problem statement before proceeding further. Thanks!\n  \n- Now go to the MainVerticle.java class and Run as java application. (You will get the message \"server started\" in the console)\n  \n- Now use Postman to expose/test the given APIs with API root end point :\n```\nhttp://localhost:8080/api/users\n```\n\nThank you!\n  \n\u003chr/\u003e\n  \n## Author\n\n- [Tanuj Pant](https://github.com/IInnffiinniittyy)\n\n\n## Contact Me\n\n- [LinkedIn](https://www.linkedin.com/in/tanujpant6263/)\n- Email : tanuj813@gmail.com \n  \n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiinnffiinniittyy%2Fvert.x_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiinnffiinniittyy%2Fvert.x_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiinnffiinniittyy%2Fvert.x_project/lists"}