Skip to content

A fullstack web application to book a hotel and flight. Using Spring Boot for backend and React for frontend.

Notifications You must be signed in to change notification settings

Davidsksilva/booking-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[TBA] Travel Booking App

Part of the projet Travel Booking App (TBA), includes a frontend to handle bookings, a backend to register the bookings to a database and a dashboard frontend displaying some stats about the bookings.

Travel Booking App (TBA): constitutes a project to gain familiarity with the tecnology stack Spring and React. Where the user is able to book a travel package including Flight and Hotel room from a web page grown with React, consuming and feeding multiple REST API's, utilizing the MySQL relational database. Includes a dashboard page using ECharts.

diagram

Demo

diagram

diagram

Getting Started

To run te project, follow the next steps.

Prerequisites

Prerequisites to run the project:

  • Gradle 4.10.2;
  • Java 11;
  • Docker 18.X;

To enable 100% of the functionality of the application, its necessary to run the Flight and Hotel backends.

Executing

To run the docker container with the database:

cd /database/
docker-compose up -d

On the first run, its necessary to create the tables on the database:

docker exec -it database_db_1 bash
mysql
create database db_hotel;
create database db_flight;
create database db_booking;

To run the backend:

cd /api/
./gradlew bootRun

To run the frontend:

cd /public/booking-app
yarn start

About

A fullstack web application to book a hotel and flight. Using Spring Boot for backend and React for frontend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published