Skip to content

Flask Json API that takes Get, Post, Put routes. Unit testing included.

Notifications You must be signed in to change notification settings

dfreeman500/flask-json-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-json-api

The goals of this project were simply to:

  • Create a flask json api that is able to accomplish several tasks as described on: https://hatchways.notion.site/hatchways/Back-End-Practice-Assessment-0a110db665384575a94d93faab787f0e Tasks Include:
    • Build a GET route that returns all recipe names.
    • Build a GET route that takes a recipe name as a string param. Return the ingredients and the number of steps in the recipe as JSON
    • Add a POST route that can add additional recipes in the existing format to the backend with support for the above routes.
    • Add a PUT route that can update existing recipes.
    • Utilize unit tests

Testing done through Postman (downloaded version to test on local machine)

Postman-gif

Some references:

Releases

No releases published

Packages

No packages published

Languages