This is a project of microservices using Springboot. This project contains use of microservices at advanced level. This project has various Microservices/Modules which are interconnected.
It has following microservices :
- USER Microservice
- RATING Microservice
- HOTEL Microservice
- API Gateway Microservice
- SERVER CONFIG Microservice
- SERVICE REGISTRY microservice
- JAVA-8
- Springboot
- MYSQL
- POSTGRESQL
- MONGODB
- Spring-Security ( Authorization and Authentication is done by OKTA)
- Eureka-Server (To register the services)
- Spring-Cloud (API-Gateway)
- FEIGN-Client and HttpTemplate (For microservice intercommunication)
- HIBERNATE
- Circuit-Breaker, Retry, Rate-Limiters ( For fault-Tolerancy in microservices)
- Jmeter (To test fault-tolerancy using rate limiters)
- USER microservice contains userid , name, email, about, and data of RATINGS microservice . MYSQL database is used to store data
- RATING microservice contains hotelid, hotelabout, hotellocation, hotelname and data of HOTEL microservice. POSTGRESQL database is used to store data
- HOTEL microservice contains hotelid, userid , ratingid, feedback.
- API Gateway microservice contains configuration for the gateway of the client requests to these microservices. This service uses spring-cloud gateway
- SERVICE CONFIG microservice contains server configurations and common configurations used in the above microservices and basically configurations are stored in github.
- SERVICE REGISTRY microservice contains eureka server configurations to register these services on eureka server.
{ "userId": "038cc9d0-1b2a-4e7c-bd35-b52ce602e69c", "name": "Harsh Vyas", "email": "harsh@gmail.com", "about": "He is an Engineer", "ratings": [ { "ratingId": "6507f2bf6391593d87e5c32c", "userId": "038cc9d0-1b2a-4e7c-bd35-b52ce602e69c", "hotelId": "8140c826-43e7-4157-8b63-e33a36c72787", "rating": 10, "feedback": "The best thing it is near to railway station", "hotel": { "id": "8140c826-43e7-4157-8b63-e33a36c72787", "name": "Sree om jyoti", "location": "somnath", "about": "It has best washrooms" } } ] }