Skip to content

NikStack20/Hotel-Review-System-HotelService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hotel Service – Hotel Review Microservices System

Hotel Service is a Spring Boot microservice responsible for managing hotel information within the Hotel Review System.

The service exposes REST APIs that allow other services to retrieve hotel data associated with user ratings.


Role in the System

Hotel Service acts as a data provider service in the microservices architecture.

It performs the following responsibilities:

  • Store hotel information
  • Provide hotel details through REST APIs
  • Serve hotel data requested by User Service

System Context

This service is part of a distributed microservices architecture.

Client → API Gateway → User Service → Rating Service → Hotel Service

Supporting infrastructure components include:

  • Config Server
  • Service Registry (Eureka)

Features

  • Manage hotel data
  • REST APIs for hotel retrieval
  • Integration with User Service
  • Service discovery using Eureka

Technology Stack

  • Java
  • Spring Boot
  • Spring Cloud
  • Maven
  • REST APIs

Example API

GET /hotels/{hotelId}

Returns hotel details such as:

  • Hotel name
  • Location
  • Description

Running the Service

Clone the repository:

git clone https://github.com/NikStack20/Hotel-Review-System-HotelService

Navigate to the project directory:

cd hotel-service

Run the application:

mvn spring-boot:run


License

This project is licensed under the MIT License.

About

Spring Boot microservice for managing hotel data used by other services in the Hotel Review System.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages