Homework
Your homework for tonight is to fork and clone down THIS repository, and do the following:
Part 1
- Add a PATCH route for restaurants
- Add a DELETE route for restaurants
Part 2 (Use the same application, just create more routes)
- Navigate to your practice data base in the postgres command line using
\c practice(HINT: use the Postgres app to open your Postgres command line) - Create a new table in database for anything you'd like. Use food if you're lost for ideas
- Create a route that returns all of your food items
- Create a route that returns a single food item using its ID
- Create a route that creates a new food items
- Create a route that updates an existing food item using its ID
- Create a route that deletes a food item using its ID