Skip to content

rodel-garcia/winery-api

Repository files navigation

Exercise 1: Rest API

  • Demonstrate knowledge in Nodejs and Express
  • Did not use any database (as it's not suggested by the exercise)

Installation

  1. after cloning the package, navigate to root directory and run:
npm install
  1. after installation of dependencies, run
npm start
  1. see it running in localhost:8000

Info

as instructed, it has 4 endpoints for HTTP GET request only:

  • getYearBreakdown
  • getVarietyBreakdown
  • getRegionBreakdown
  • getYearAndVarietyBreakdown

and must provide parameter for lotCode based on the following json files:

Screen shot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published