Skip to content

srikanth-sridhara/restaurant-menu-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restaurant App.

  • Has a list of restaurants. You can add/delete/edit a restaurant.
  • Restaurant has: Restaurant id, name, address, category.
  • Each restaurant has a menu. You can add/delete/edit menu items.
  • Each menu item has: id, name, description, price, course, restaurant_id

Restaurant End-points:

  • / or /restaurants/                  Show all restaurants.
  • /restaurant/new/                      Add a new restaurant.
  • /restaurant/<id>/edit/          Edit a restaurant.
  • /restaurant/<id>/delete/       Delete a restaurant

Menu End-points:

  • /restaurant/<id>(/menu/)                Show the full menu
  • /restaurant/<id>/new/                      Add a menu item
  • /restaurant/<id>/<menuid>/edit     Edit a menu item
  • /restaurant/<id>/<menuid>/delete Edit a menu item

API end-points in JSON:

  • /restaurants/JSON List of Restaurants
  • /restaurant/<id>/menu/JSON List of menu items in a restaurant
  • /restaurant/<id>/menu/<menuid>/JSON List of items in a menu item of a restaurant

CRUD functions:

  • showRestaurants()

  • newRestaurant()

  • editRestaurant()

  • deleteRestaurant()

  • showMenu()

  • newMenuItem()

  • editMenuItem()

  • deleteMenuItem()

About

A restaurant Menu app based on Flask using SQL Alchemy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published