{"id":25582588,"url":"https://github.com/yashtank86/customer-api-springboot","last_synced_at":"2026-05-05T19:32:18.946Z","repository":{"id":216321705,"uuid":"740985906","full_name":"yashtank86/customer-api-springboot","owner":"yashtank86","description":"customer api using spring boot framework with a jpa thymeleaf hibernate mysql with this all features created rest api.","archived":false,"fork":false,"pushed_at":"2024-04-10T09:43:02.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-20T21:54:10.940Z","etag":null,"topics":["api","crud-application","hibernate","jpa","mysql-database","rest-api","spring","spring-boot","thymeleaf"],"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/yashtank86.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-09T13:25:10.000Z","updated_at":"2024-04-10T09:47:48.000Z","dependencies_parsed_at":"2024-01-13T21:32:16.853Z","dependency_job_id":"1c3e886e-390f-4b9d-83d6-10df27614459","html_url":"https://github.com/yashtank86/customer-api-springboot","commit_stats":null,"previous_names":["yashtank86/custome-api-springboot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yashtank86/customer-api-springboot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashtank86%2Fcustomer-api-springboot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashtank86%2Fcustomer-api-springboot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashtank86%2Fcustomer-api-springboot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashtank86%2Fcustomer-api-springboot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yashtank86","download_url":"https://codeload.github.com/yashtank86/customer-api-springboot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashtank86%2Fcustomer-api-springboot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32664861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"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":["api","crud-application","hibernate","jpa","mysql-database","rest-api","spring","spring-boot","thymeleaf"],"created_at":"2025-02-21T05:17:35.389Z","updated_at":"2026-05-05T19:32:18.928Z","avatar_url":"https://github.com/yashtank86.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eCustomer API Documentation\u003c/h1\u003e\ncustomer api - spring boot application. This api is built with Spring Boot, utilizing MySQL for data storage. It exposes endpoints to manage customer information, including id, first_name, last_name, email, and phone_number. The API is designed to be powerful, scalable, and easy to integrate into your applications.\n\n\n## Note\n        It's My First Springboot Back-end Project In which I have Implemented Rest API\n        and also uses postman to test api:)\n\n        🌟 Thank you, me, for making it happen! Let's keep coding and building awesome things! 🚀\n\n        🚀 Key Achievements:\n\n        Developed a RESTful API that showcases my proficiency in Java and Spring Boot.\n        Successfully handled the integration of MySQL, ensuring data persistence and reliability.\n        Demonstrated a commitment to best practices, documentation, and a user-friendly API design.\n\n## git clone https://github.com/yashtank86/customer-api-springboot.git\n\n## Prerequisites\n        Maven 3+.\n        MySQL Workbench 8+.\n        Postman v9+.\n\n## Generate the Project\n        Go to the website Spring Initializr to initialize the Spring Boot project. Add the following dependencies:\n        Spring Boot DevTools: for the development tools.\n        Lombok: to reduce boilerplate code (for example, getters and setters).\n        Spring Web: to embed Apache Tomcat and include Spring MVC.\n        Spring Data JPA: to facilitate the database layer.\n        MySQL Driver: to enable communication between the Spring Boot application and the database.\n\n## Navigate to the project directory:\n| Directory Structure  |\n|:-:|\n| \u003cimg width=\"220\" alt=\"image\" src=\"https://github.com/yashtank86/custome-api-springboot/assets/52051877/cad2dbab-44d4-434d-8c9b-80b388949e0a\"\u003e |\n\n\n\n\n## Configure the MySQL database connection in application.properties.\n    spring.datasource.url = jdbc:mysql://localhost:9090/customer-management-system\n    spring.datasource.username = root\n    spring.datasource.password = root\n    spring.jpa.hibernate.ddl-auto = update\n    spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQLDialect\n\n    server.error.include-stacktrace = never\n\n    server.port = 8090\n    \n## mvn spring-boot:run\n    The API will be accessible at http://localhost:8090/customer/save for POST method.\n    http://localhost:8090/customer/retrieve/email=abc@gmail.com \n    := for GET method. Its uses emailId for retrieve the information from database\n\n## Testing with Postman\n        Test the application using Postman.\n        Add a couple of customers.\n        \n        Enter the body of the request:\n        \n        {\n            \"first_name\": \"rahul\",\n            \"last_name\": \"sharma\",\n            \"email\": \"rs@gmail.com\",\n            \"phoneNumber\": \"9515517878\"\n        }\n\n\n## Select SEND, and rahul sharma will be saved into the database\n| MySql |\n|:-:|\n| \u003cimg width=\"304\" alt=\"image\" src=\"https://github.com/yashtank86/custome-api-springboot/assets/52051877/10547848-937a-4660-a72c-dd534a7e232b\"\u003e |\n\n\n## The project utilizes the following Tech:\n    🌐 Tech Stack:\n    🖥️ Java | Spring Boot | Hibernate\n    🛢️ MySQL\n    🚀 RESTful APIs\n    🔧 Git | Maven\n  \nAll dependencies are managed using Maven.\n\n## Screenshorts\n| GET {retrieve an customer from database using emailID} |\n|:-:|\n| ![img1](https://github.com/yashtank86/customer-api-springboot/assets/52051877/fd2e0a4c-d759-4965-a580-50fd239a7050) |\n\n\n| Screen2 |\n|:-:|\n| ![img2](https://github.com/yashtank86/customer-api-springboot/assets/52051877/5c6b1272-b20e-4256-b09c-1d4468e11955) |\n\n\n| mysql workbanch |\n|:-:|\n| ![img3](https://github.com/yashtank86/customer-api-springboot/assets/52051877/afb011de-9fff-44a0-8f32-1518bcea4da4) |\n\n\n| POST {Create an customer} |\n|:-:|\n| ![img4](https://github.com/yashtank86/customer-api-springboot/assets/52051877/731b5a1c-a81f-42d1-a8ae-1f5d3748f604) |\n\n\n## Usage\n    Make requests to the specified endpoints using your preferred API client.\n    Ensure proper authorization and authentication mechanisms are in place.\n    Integrate the API into your applications to manage customer data efficiently.\n## Contribution\n    Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.\n\n## License\n    This project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashtank86%2Fcustomer-api-springboot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyashtank86%2Fcustomer-api-springboot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashtank86%2Fcustomer-api-springboot/lists"}