is a local API tours and users the data retrieved from the dev-data folder for now only tours
This section should list any major frameworks/libraries use. Here are a few examples.
- Node
- Express
- Morgan
This is an example of how you may give instructions on setting up your project locally.
This is an example of how to list things you need to use the software and how to install them.
- NodeJS latest versions
- npm install -g
- yarn npm install -g yarn
- clone the project
- yarn install
- yarn start
to get data from all tours you can use the following endpoint:
http: localhost:3000/api/v1/tours
or you want a get specific tour
http: localhost:3000/api/v1/tours/5