{"id":15069254,"url":"https://github.com/sakthivelmadhu/vertx-crud-api","last_synced_at":"2026-01-03T16:03:52.723Z","repository":{"id":235505665,"uuid":"790829104","full_name":"SakthivelMadhu/vertx-crud-api","owner":"SakthivelMadhu","description":"This project demonstrates a simple CRUD (Create, Read, Update, Delete) API implementation using Vert.x, a reactive toolkit for building reactive applications on the JVM.","archived":false,"fork":false,"pushed_at":"2024-05-01T06:07:25.000Z","size":27314,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T19:46:05.169Z","etag":null,"topics":["api-rest","jdk","maven","postgresql","vertx-web"],"latest_commit_sha":null,"homepage":"https://drive.google.com/file/d/1Z4z80P4Bi1SxMWs_cL84KOQhDTq6LH6L/view?usp=sharing","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/SakthivelMadhu.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":"2024-04-23T15:52:54.000Z","updated_at":"2024-05-01T06:07:28.000Z","dependencies_parsed_at":"2024-10-13T03:41:37.984Z","dependency_job_id":"a2e7b816-68e0-4c3e-8624-8d51479da817","html_url":"https://github.com/SakthivelMadhu/vertx-crud-api","commit_stats":null,"previous_names":["sakthivelmadhu/vertx-crud-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SakthivelMadhu%2Fvertx-crud-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SakthivelMadhu%2Fvertx-crud-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SakthivelMadhu%2Fvertx-crud-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SakthivelMadhu%2Fvertx-crud-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SakthivelMadhu","download_url":"https://codeload.github.com/SakthivelMadhu/vertx-crud-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243837105,"owners_count":20355828,"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":["api-rest","jdk","maven","postgresql","vertx-web"],"created_at":"2024-09-25T01:41:24.836Z","updated_at":"2026-01-03T16:03:52.696Z","avatar_url":"https://github.com/SakthivelMadhu.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vert.x CRUD API Project\n\nThis project demonstrates a simple CRUD (Create, Read, Update, Delete) API implementation using Vert.x, a reactive toolkit for building reactive applications on the JVM.\n\n## Project Structure\n\n```bash\nvertx-crud-api/\n├── src/\n│ ├── main/\n│ │ ├── java/\n│ │ │ ├── com/\n│ │ │ │ ├── example/\n│ │ │ │ │ ├── MainVerticle.java # Main entry point of the application\n│ │ │ │ │ ├── database/\n│ │ │ │ │ │ ├── DatabaseService.java # Service for database interactions\n│ │ │ │ │ │ ├── DatabaseVerticle.java # Verticle to deploy database service\n│ │ │ │ │ ├── http/\n│ │ │ │ │ │ ├── HttpVerticle.java # Verticle for handling HTTP requests\n│ │ │ │ │ │ ├── UserService.java # Service for user-related HTTP endpoints\n│ │ │ │ │ ├── model/\n│ │ │ │ │ │ ├── User.java # Model class for User\n│ │ ├── resources/\n│ │ │ ├── application.properties # Application configuration properties\n│ │ │ ├── log4j2.xml # Log4j2 configuration file\n│ ├── test/\n│ │ ├── java/\n│ │ │ ├── com/\n│ │ │ │ ├── example/\n│ │ │ │ │ ├── http/\n│ │ │ │ │ │ ├── UserServiceTest.java # Unit tests for UserService\n├── target/ # Output directory for compiled classes and packaged JAR\n├── pom.xml # Maven project configuration file\n├── README.md # Project documentation\n```\n\n## project Explanation demo video\n\n\u003chttps://drive.google.com/file/d/1Z4z80P4Bi1SxMWs_cL84KOQhDTq6LH6L/view?usp=sharing\u003e\n\n## Overview\n\nThe project consists of the following components:\n\n- **MainVerticle**: Main entry point for the Vert.x application. Deploys HTTP and Database verticles.\n- **HttpVerticle**: Verticle responsible for handling HTTP requests and routing them to appropriate handlers.\n- **DatabaseVerticle**: Verticle responsible for managing database operations and communication with the database service.\n- **DatabaseService**: Service class managing database interactions for CRUD operations on the user entity.\n\n## Setup\n\nTo run the application locally, follow these steps:\n\n1. **Prerequisites**: Ensure you have Java Development Kit (JDK) 8 or higher installed on your system.\n2. **Database Setup**:\n   - Install PostgreSQL and create a database named `user_info`.\n   - Update the database connection settings in the `application.properties` file.\n3.**Building the Project**:\n\n```bash\nmvn clean package\n```\n\n4.**Running the Application**\n\n```bash\njava -jar target/vertx.jar\n```\n\n5.**Accessing the API**\n\n- Once the application is running, you can access the API using `http://localhost:8080/api/users`.\n\n## API Endpoints\n\n- **POST /api/users**: Create a new user.\n- **GET /api/users**: Retrieve all users or filter by query parameters (name, gender, status).\n- **PUT /api/users/:id**: Update an existing user.\n- **DELETE /api/users/:id**: Delete a user by ID.\n\n## Dependencies\n\n- **Vert.x Core**: Reactive core for building reactive applications.\n- **Vert.x Web**: Web routing and handling support for Vert.x applications.\n- **Vert.x JDBC Client**: Asynchronous JDBC client for database access.\n- **PostgreSQL Driver**: JDBC driver for PostgreSQL database.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakthivelmadhu%2Fvertx-crud-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsakthivelmadhu%2Fvertx-crud-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakthivelmadhu%2Fvertx-crud-api/lists"}