Welcome to Reservista! This mobile application is developed using React Native and Spring Boot. It is a reservation system providing multiple hotels in multiple cities worldwide so you can reserve any room in these hotels. To run this application, we use Docker Compose for easy setup and deployment.
Before you begin, ensure that you have the following installed on your machine:
Clone the repository:
git clone https://github.com/hussainmansour/Reservista.git
Navigate to the project directory:
cd Reservista
If you have changed the code then you should do the following steps to see the change in the application, Otherwise jump to step 4:
Navigate to the Backend directory:
cd Backend
Make sure that the./mvnw file has the permission to run:
chmod +x mvnw
Generate the Jar file:
./mvnw clean
./mvnw install -DskipTests
Return to the project directory then continue from step 4:
cd ..
Build and run the Docker containers using Docker Compose:
docker-compose up --build
Wait for the containers to start. You can check the logs using:
docker-compose logs -fPress 'CTRL+C' to exit the log view.
To stop the application and shut down the Docker containers, run:
docker-compose down