- Demonstrate knowledge in Nodejs and Express
- Did not use any database (as it's not suggested by the exercise)
- after cloning the package, navigate to root directory and run:
npm install
- after installation of dependencies, run
npm start
- see it running in
localhost:8000
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: