Assignment for data science position
- install FastAPI and other required libraries
- Read the content of recipedata.csv
- Write a post endpoint in main.py that takes [recipeID, number of serving] as an input variable and returns the whole recipe as a JSON object.
- Refer to recipe.json for the structure of JSON output. Skip the fields that are not in the columns
- Once complete create a pull request to this repo
- Bonus points for deploying the app on heroku / Railway ...
Endpoint: http://localhost:5000/recipe
input : { RecipeID: 1, Servings: 2 }
Ouput: { JSON Output }