esojlm5 / tour-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About The Project

is a local API tours and users the data retrieved from the dev-data folder for now only tours

Built With

This section should list any major frameworks/libraries use. Here are a few examples.

  • Node
  • Express
  • Morgan

Getting Started

This is an example of how you may give instructions on setting up your project locally.

Prerequisites

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

Installation

  1. clone the project
  2. yarn install
  3. yarn start

Usage

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

About


Languages

Language:HTML 40.2%Language:CSS 32.0%Language:Pug 21.8%Language:JavaScript 6.0%