PA 26.1: Library app with REST
- Due Dec 9, 2020 by 11:59pm
- Points 1
- Submitting a website url
- Available after Nov 18, 2020 at 9am
Complete the Library app from Class Activity 22 (see the ca22-class folder on Dropbox Links to an external site.). Put your code in your Git repository named pa/pa26.1. Implement the remaining controllers in router.php:
- addPatron (started, but incomplete)
- getPatrons
- getPatron
- checkoutBook
- getCheckouts
- getCheckout
- getOverdueBooks
Complete the modification of the front end code to use the RESTful interface in router.php.
Here's the rubric:
[ ] the app behaves as when the ad-hoc, simple API was used
[ ] all of the controllers on the server-side are RESTful
[ ] the front end makes calls to the RESTful interface
[ ] errors are handled appropriately
[ ] successful responses are processed appropriately
Submitting PAs
Be sure to create a README.md with the following information:
- who you worked with (say "I worked alone" if you didn't have a partner)
- how long you spent on the assignment
- the PA option (and, if applicable, the earlier PA option it builds off of)
- a copy of the PA option's rubric, filled out (only submit if you can honestly check off each of the criteria)
- what the most challenging aspects were
- any lingering questions you have about the assignment
Commit and push your git repository to GitHub, then paste a link to your PA directory.