Skip to content
 
 

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dinnerfy-ds

Assignment for data science position

Task

  1. install FastAPI and other required libraries
  2. Read the content of recipedata.csv
  3. 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.
  4. Refer to recipe.json for the structure of JSON output. Skip the fields that are not in the columns
  5. Once complete create a pull request to this repo
  6. Bonus points for deploying the app on heroku / Railway ...

example

Endpoint: http://localhost:5000/recipe

input : { RecipeID: 1, Servings: 2 }

Ouput: { JSON Output }

About

Assignment for data science position

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages