This task is designed to help you become familiar with our code structure, which, in turn, will enable us to work uniformly and more efficiently.
-
Set up the project using the steps provided in the README.md
-
Try to create a new notes without sending any body. Notice you'll get a
500 INTERNAL SERVER ERROR, if you check where the error was handled in notes.py,400 BAD REQUESTwas the status code that was returned in theCustomRequestErrorclass. Fix this issue. -
Check out the error in the
get_all_notesfunction, and try to fix it. -
Check out the comments below in the notes.py and implement those routes. Remember to check for the
idparams andcontentfor those routes that requires them and return the appropriate response for them.
Download files from here https://github.com/Jace-Tech/flask_assessment