Skip to content

Assignment for data science position

Notifications You must be signed in to change notification settings

arya2910/dinnerfy-ds

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%