A platform of web services that form a Hotel booking system for training others on how to explore and test web service platforms as well as strategise and implement automation in testing strategies.
RBP is currently known to work with the following requirements:
- JDK 1.8
- Maven 3.3.9
- Node 10.15.0
- NPM 6.4.1
You will require Java SDK 1.8, Maven and Node/Npm installed and available in your terminal to run RBP. To get started follow these instructions:
- Clone/Download the repository
- Navigate into the restful-booker-platform root folder
- Run either
build_locally.sh
orbuild_locally.cmd
depending on your OS to build RBP and get it running (It may take a while on the first run as it downloads dependencies) - Navigate to http://localhost:8080 to access the site
Assuming you have successfully built the application at least once, you can now run the app without having to rebuild the whole application.
- To run without end-to-end checks run:
run_locally.sh
- To run with end-to-end checks run:
run_locally.sh -e true
- To run without end-to-end checks run:
run_locally.cmd
- To run with end-to-end checks run:
run_locally.cmd true
The user login details are:
- Username: admin
- Password: password
Please note: DB connections are only available in local deployments
The details on running checks, building APIs and additional details on documentation for development are found in READMEs inside each of the API folders.