Accepts lists of MEAL IDs that exist in https://themealdb.com/api.php
and returns the id with the least number of ingredients
list of libraries, tools, and technologies used.
- express.js - Fast, unopinionated, minimalist web framework for Node.js
- Node.js - A JavaScript runtime environment
- Docker - For container
- A package manager - [NPM]
- clone the repo -
https://github.com/DinmaOtutu/meal-app.git
- cd meal-app.
- docker build -t meal-app .
- docker run -it -p 8080:8080 meal-app
- If you do not have docker installed, run
npm install
- run
npm start
- Navigate to
https://themealdb.com/api.php
get list of meal IDS, pass it as an array in the request body on postman, it returns the meal with the least number of ingredients
POST REQUEST
{
"mealIds" : [id1, id2, .......]
}
localhost:8080/api/meal
- Yours truly DinmaOtutu