Natours
This is my First API, in this app we can create view, update and delete the tours utilizing the express, node.js and Mongo-db no-sql database.
Created by: Piyush Sultaniya with ❤️
Tours
You can get all Tours, single Tour, Delete Tour, Update or also Create Tour.
There are also some special endpoints for special requests
GETGet all tours
{{URL}}/api/v1/tours
Use this endpoint to get all tours.
PARAMS
duration[gte]
difficulty
price[lt]
sort
Example Request
Get all tours
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers
GETGet a tour
{{URL}}/api/v1/tours/632c3b88ab02fa647cb2e1a0
Example Request
Get a tour
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers
GETGet Top 5 Cheap Tours
{{URL}}/api/v1/tours/top-5-cheap
Example Request
Get Top 5 Cheap Tours
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers