Skip to content

dgodongm/restful-booker-cypress-js

 
 

Repository files navigation

restful-booker-cypress-js

Cypress automation suite for the simple Node booking RESTful web services. Refer to original repo at https://github.com/mwinteringham/restful-booker for more info on the API This automation suite demonstrates:

  • Testing most common HTTP verb APIs: GET, POST, PATCH, PUT, and DELETE
  • Verifying status reponse and body contents
  • Basic custom input generators
  • Use of fakerJS for more extensive input generation

Installation

  1. Ensure mongo is up and running by executing mongod in your terminal
  2. Clone the repo
  3. Navigate into the restful-booker root folder
  4. Run npm install
  5. Run npm start

Or you can run this via Docker:

  1. Clone the repo
  2. Navigate into the restful-booker root folder
  3. Run docker-compose build
  4. Run docker-compose up
  5. APIs are exposed on http://localhost:3001

API

API details can be found on the publically deployed version of Restful-Booker.

About

A free to use Web API for practising API testing on

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 80.5%
  • HTML 15.1%
  • CSS 4.3%
  • Other 0.1%