{"id":19852967,"url":"https://github.com/chandrakanthrck/microservice","last_synced_at":"2026-04-10T15:04:43.131Z","repository":{"id":254075868,"uuid":"845310878","full_name":"chandrakanthrck/MicroService","owner":"chandrakanthrck","description":"A microservices-based architecture built with Spring Boot and Spring Cloud, featuring service discovery, load balancing, and integration with PostgreSQL, MongoDB, and MySQL databases.","archived":false,"fork":false,"pushed_at":"2024-09-06T02:23:17.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T23:23:38.051Z","etag":null,"topics":["eureka","microservices-architecture","mongodb","mysql","postgresql","rest-api","springboot","springcloud"],"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/chandrakanthrck.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-08-21T02:15:08.000Z","updated_at":"2024-09-09T02:39:54.000Z","dependencies_parsed_at":"2025-01-11T13:28:43.252Z","dependency_job_id":"ccf159ae-e5ab-42f1-8071-7ce23c53a669","html_url":"https://github.com/chandrakanthrck/MicroService","commit_stats":null,"previous_names":["chandrakanthrck/microservice"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chandrakanthrck/MicroService","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2FMicroService","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2FMicroService/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2FMicroService/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2FMicroService/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chandrakanthrck","download_url":"https://codeload.github.com/chandrakanthrck/MicroService/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2FMicroService/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004690,"owners_count":26083750,"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-10-10T02:00:06.843Z","response_time":62,"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":["eureka","microservices-architecture","mongodb","mysql","postgresql","rest-api","springboot","springcloud"],"created_at":"2024-11-12T14:05:03.530Z","updated_at":"2025-10-10T16:37:26.884Z","avatar_url":"https://github.com/chandrakanthrck.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microservices Project\r\n\r\n## Overview\r\nThis project is a microservices-based architecture built using **Spring Boot** and **Spring Cloud**. It includes several independent services, each with its own functionality. Each service communicates via RESTful APIs and integrates with a central **Eureka Server** for service registration and discovery.\r\n\r\n## Microservices\r\n\r\n1. **HotelService**: Manages hotel-related data such as hotel details, locations, etc.\r\n    - [HotelService README](https://github.com/chandrakanthrck/MicroService/tree/main/HotelService#readme)\r\n\r\n2. **RatingService**: Manages ratings for hotels and allows users to submit and view ratings.\r\n    - [RatingService README](https://github.com/chandrakanthrck/MicroService/tree/main/RatingService#readme)\r\n\r\n3. **UserService**: Handles user-related data such as user profiles and associated actions.\r\n    - [UserService README](https://github.com/chandrakanthrck/MicroService/tree/main/UserService#readme)\r\n\r\n4. **ServiceRegistry**: Acts as the **Eureka Server** for service discovery.\r\n    - [ServiceRegistry README](https://github.com/chandrakanthrck/MicroService/tree/main/ServiceRegistry#readme)\r\n\r\n5. **ApiGateway**: Provides a single entry point for all the services through a gateway.\r\n    - [ApiGateway README](https://github.com/chandrakanthrck/MicroService/tree/main/ApiGateway#readme)\r\n\r\n## Project Setup\r\n\r\n### Prerequisites\r\n- Java 17+\r\n- Maven 3+\r\n- PostgreSQL, MySQL, MongoDB installed locally or accessible via cloud services.\r\n\r\n### Clone the repository\r\nTo clone this repository, use the following command:\r\n```bash\r\ngit clone https://github.com/chandrakanthrck/MicroService.git\r\n```\r\n## Setting up Databases\r\n\r\nEnsure that your local databases (**PostgreSQL**, **MySQL**, **MongoDB**) are running. You may need to create the respective databases:\r\n\r\n- **PostgreSQL** (for HotelService)\r\n- **MongoDB** (for RatingService)\r\n- **MySQL** (for UserService)\r\n\r\nEach microservice contains more detailed information about its own setup in their respective README files.\r\n\r\n## Config Server Integration\r\n\r\nThis project integrates with a separate **Spring Cloud Config Server** for centralized configuration management. The Config Server handles environment-specific configurations for all the microservices.\r\n\r\nYou can find the Config Server repository here:  \r\n[Config Server Repository](https://github.com/chandrakanthrck/MicroService-config-server.git)\r\n\r\nOnce the Config Server is running, microservices will automatically fetch configurations from it.\r\n\r\n## Swagger API Documentation\r\n\r\nEach microservice is integrated with **Swagger** for easy API documentation and testing. Once the services are running, you can access the Swagger UI for each service to explore the available API endpoints:\r\n\r\n- **HotelService**: [http://localhost:8082/swagger-ui.html](http://localhost:8082/swagger-ui.html)\r\n- **RatingService**: [http://localhost:8083/swagger-ui.html](http://localhost:8083/swagger-ui.html)\r\n- **UserService**: [http://localhost:8081/swagger-ui.html](http://localhost:8081/swagger-ui.html)\r\n- **ApiGateway**: [http://localhost:8080/swagger-ui.html](http://localhost:8080/swagger-ui.html)\r\n\r\n## Running the Services\r\n\r\nTo run each microservice, navigate to its respective directory and run:\r\n\r\n```bash\r\nmvn spring-boot:run\r\n```\r\n\r\n## Accessing the Services\r\n\r\nOnce the services are running, you can access them on the following ports:\r\n\r\n- **Eureka Dashboard**: [http://localhost:8761/](http://localhost:8761/)\r\n- **HotelService**: [http://localhost:8082/](http://localhost:8082/)\r\n- **RatingService**: [http://localhost:8083/](http://localhost:8083/)\r\n- **UserService**: [http://localhost:8081/](http://localhost:8081/)\r\n- **ApiGateway**: [http://localhost:8080/](http://localhost:8080/)\r\n\r\n## Key Technologies\r\n\r\n- **Spring Boot**\r\n- **Spring Cloud Eureka**\r\n- **Spring Data JPA**\r\n- **PostgreSQL**, **MongoDB**, **MySQL**\r\n- **Swagger** for API documentation\r\n- **Maven** for project management\r\n\r\n## Additional Information\r\n\r\nPlease refer to each service’s individual README file for more detailed instructions and API information:\r\n\r\n- [HotelService README](./hotelservice/README.md)\r\n- [RatingService README](./ratingservice/README.md)\r\n- [UserService README](./userservice/README.md)\r\n- [ServiceRegistry README](./serviceregistry/README.md)\r\n- [ApiGateway README](./apigateway/README.md)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandrakanthrck%2Fmicroservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchandrakanthrck%2Fmicroservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandrakanthrck%2Fmicroservice/lists"}