Restful-Booker-Platform

Number of APIs: 30

Restful-Booker-Platform

Welcome to restful-booker-platform, a collection of Web APIs built using SpringBoot that form together to create a fake Bed and Breakfast website. Each API is responsible for a section of the site, for example the management of rooms and bookings.

As this is a more complex application the challenge with testing this site is understanding when to focus on individual API testing, and when to combine APIs in your testing.

It also comes with a ReactJS frontend that can be used for practising testing techniques beyond API testing.

Where are the APIs?

You can find the code for Restful-booker-platform on GitHub here: https://github.com/mwinteringham/restful-booker-platform

You can find a deployed instance at https://automationintesting.online

The application is seeded with data for you to work with and resets itself every 10 minutes back to that default state.

  1. Message - /message/:id - GetMessage GET {{host}}/message/1

  2. Report - /report/ - GetRoomsReport GET {{host}}/report/

  3. Auth - /auth/actuator/health - HealthCheck GET {{host}}/auth/actuator/health

  4. Auth - /auth/login - CreateToken POST {{host}}/auth/login

  5. Auth - /auth/validate - ValidateToken POST {{host}}/auth/validate

  6. Auth - /auth/logout - DestroyToken POST {{host}}/auth/logout

  7. Booking - /booking/actuator/health - HealthCheck GET {{host}}/booking/actuator/health

  8. Booking - /booking/:id - GetBooking GET {{host}}/booking/1

  9. Booking - /booking/ - GetBookings GET {{host}}/booking/?roomid=1

  10. Booking - /booking/summary - GetBookingSummary GET {{host}}/booking/summary?roomid=1