Skip to content

SantanaSJ/BookitPets

Repository files navigation

BookItPets custom image

Basic Online Booking System

custom image

Table of contents

General info

Basic web based online booking system for pet friendly hotels.
The project has been deployed on Heroku

Functionalities

In order to use the system, the user needs to be logged in.

  • Basic search option
  • Check room availability and rates
  • Book rooms
  • Discount if more than 1 night is booked (Spring Events)
  • CRUD operations like:
    • create reservations
    • view existing reservations
    • update reservations
    • cancel reservations
  • Simple file uploads
  • Update bookings using Spring Book Scheduler
  • Error handling
  • Data validation (client side and server side)
  • Role based authorization and authentication
  • Manageable user roles
  • Simple test payments via cloud-based payment service - Stripe API
  • Google Maps API to (dynamically?) show maps of hotels
  • Cloudinary API for file storge

Technologies:

Java  Spring  MySQL 
  • Java
  • Spring Framework
  • Spring Boot
  • Spring Security
  • Spring Data
  • JPA, Hibernate ORM
  • MySQL
  • Thymeleaf
  • HTML, CSS, Bootsrtap, JQuery, Javascript, Maven

Tests

  • Unit Tests, Integration tests
  • Junit, Mockito
  • H2 in-memory DB
  • Coverage 66%

UI Tests

  • Manual tests
  • Selenium IDE
  • Webdriver

Credentials

Admin credentials:
email: admin@admin.bg
pass: a123456789A#

User credentials:
email: pesho@abv.bg
pass: test
email: sisi@abv.bg
pass: a123456789A#

Payment

Test card
• 4242 4242 4242 4242
• Use a valid future date, such as 12/34
• Use any three-digit CVC
• Use any value you like for other form fields
• ZIP – 10001

Screenshots

hotels

hotels

no availability

availability

summary

payment