Using Springboot and ReactJS
- spring-boot-starter-data-jpa
- spring-boot-starter-web
- spring-boot-devtools
- mysql-connector-j
- lombok
- commons-lang3
- spring-boot-starter-validation
Note: MySQL run on port 3306 locally
i.e localhost:3306
create a database with the name zipcode_application_backend
i.e
root:\Backend [Springboot]\lakeside_hotel
mvnw package
STEP 04- in the In the Backend [Springboot]\lakeside_hotel folder navigate to the target folder and open in cmd
java -jar zipcode_application_backend--0.0.1-SNAPSHOT.jar
Note: The port has been changed to port 9091 i.e localhost:9091
BASE_URL
http://localhost:9091/api/v1
POST Request
BASE_URL/room/add/new-room
GET Request
BASE_URL/rooms/room-types
DELETE Request
BASE_URL/rooms/delete/room/{roomId}
PUT Request
BASE_URL/rooms/update/{roomId}
GET Request
BASE_URL/rooms/room/{roomId}
POST Request
BASE_URL/bookings/room/{roomId}/booking
GET Request
BASE_URL/bookings/all-bookings
GET Request
BASE_URL/bookings/confirmation/{confirmationCode}
DELETE Request
BASE_URL/bookings/booking/{bookingId}/delete
- axios
- bootstrap
- moment
- react-bootstrap
- react-router-dom
- react-icons
STEP 01- Open Project Root Folder using Terminal and navigate to the Frontend_React_JS\lakeside_hotel folder
For windows
cd Frontend_React_JS\lakeside_hotel
npm run dev