{"id":15014003,"url":"https://github.com/sadmanpieal/restful-booker-api","last_synced_at":"2026-03-16T21:05:29.775Z","repository":{"id":254140203,"uuid":"845447405","full_name":"sadmanpieal/RESTful-Booker-API","owner":"sadmanpieal","description":"A comprehensive automation suite for testing the RESTful Booker API. This repository contains automated tests created with Postman and executed using Newman, covering essential endpoints for managing bookings, including creating, updating, retrieving, and deleting bookings. Ideal for ensuring the reliability and correctness of RESTful APIs.","archived":false,"fork":false,"pushed_at":"2024-08-21T15:37:48.000Z","size":13107,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T00:17:47.131Z","etag":null,"topics":["api","newman","newman-reporter-htmlextra","postman","rest-api"],"latest_commit_sha":null,"homepage":"https://restful-booker.herokuapp.com/apidoc/index.html","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sadmanpieal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-21T09:15:31.000Z","updated_at":"2024-08-31T15:12:32.000Z","dependencies_parsed_at":"2024-08-21T17:32:19.402Z","dependency_job_id":"9be21409-c9f3-41a9-a19b-cf7feca11cef","html_url":"https://github.com/sadmanpieal/RESTful-Booker-API","commit_stats":null,"previous_names":["sadmanpieal/restfull-booker-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmanpieal%2FRESTful-Booker-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmanpieal%2FRESTful-Booker-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmanpieal%2FRESTful-Booker-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmanpieal%2FRESTful-Booker-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sadmanpieal","download_url":"https://codeload.github.com/sadmanpieal/RESTful-Booker-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243313495,"owners_count":20271195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","newman","newman-reporter-htmlextra","postman","rest-api"],"created_at":"2024-09-24T19:45:03.112Z","updated_at":"2025-12-28T01:11:33.262Z","avatar_url":"https://github.com/sadmanpieal.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RESTful Booker API Automation\n\nThis repository contains automated tests for the Restful Booker API. The tests are written using [Postman](https://www.postman.com/) and executed with [Newman](https://www.npmjs.com/package/newman).\n\n## Table of Contents\n\n- [Overview](#overview)\n- [API Endpoints Covered](#api-endpoints-covered)\n- [Setup Instructions](#setup-instructions)\n- [Running the Tests](#running-the-tests)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Overview\n\nThe Restful Booker API provides a set of endpoints for managing bookings, including creating, updating, retrieving, and deleting bookings. This project automates the testing of these endpoints to ensure their correctness and reliability.\n\n## API Endpoints Covered\n\nThe following API endpoints are covered in the automation:\n\n- **Auth**\n  - `POST /auth`: Create a new authentication token.\n\n- **Booking**\n  - `GET /booking`: Retrieve a list of booking IDs.\n  - `GET /booking/:id`: Retrieve the details of a specific booking.\n  - `POST /booking`: Create a new booking.\n  - `PUT /booking/:id`: Update an existing booking.\n  - `PATCH /booking/:id`: Partially update an existing booking.\n  - `DELETE /booking/:id`: Delete a booking.\n\n## Setup Instructions\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/) installed on your machine.\n- [Newman](https://www.npmjs.com/package/newman) installed globally:\n  ```bash\n  npm install -g newman\n  ```\n- [Postman](https://www.postman.com/) installed for running and modifying the collections.\n\n### Cloning the Repository\n\nClone this repository to your local machine:\n\n```bash\ngit clone https://github.com/sadmanpieal/Restfull-Booker-API-.git\ncd Restfull-Booker-API-\n```\n\n## Running the Tests\n\nTo run the tests using Newman, use the following command:\n\n```bash\nnewman run Restful-booker.postman_collection.json\n```\nor \n```bash\nnewman run Restful-booker.postman_collection.json --env-var \"variable_name=variable_value\"\n```\n\n\n\n- If your collection requires environment variables but you don't want to use an environment file, you can pass individual variables directly in the command line using the --env-var option:\n\n### Running with HTML Report\n\nIf you wish to generate an HTML report after running the tests, use:\n\n```bash\nnode .\\reports.js\n```\n- before that delete the report.html file from  Reports folder\n- The report will be saved as `report.html`.\n- Report will look like this\n \n![screencapture-file-D-Restfull-booker-Restfull-Booker-API-Reports-report-html-2024-08-21-21_27_04](https://github.com/user-attachments/assets/80b0d196-c5f3-4465-a7c8-ca5863f5b455)\n\n## Contributing\n\nIf you would like to contribute to this project, please fork the repository and submit a pull request. All contributions are welcome!\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadmanpieal%2Frestful-booker-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsadmanpieal%2Frestful-booker-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadmanpieal%2Frestful-booker-api/lists"}