Create a restaurant menu app where users can add, edit, and delete restaurants and menu items in the restaurants.
- Python 3.6
- Vagrant
- VirtualBox
- Install VirtualBox and Vagrant
- Clone this repo
- Unzip and place the Item Catalog folder in your Vagrant directory
- Launch Vagrant
$ Vagrant up
- Login to Vagrant
$ Vagrant ssh
- Change directory to
/vagrant
$ Cd /vagrant
- Initialize the database
$ python3 database_setup.py
- Populate the database with some initial data
$ python3 populate_db.py
- Launch application
$ python project.py
- Open the browser and go to http://localhost:5000
/restaurants/JSON
/restaurants/<int:restaurant_id>/menu/<int:menu_id>/JSON
/restaurants/<int:restaurant_id>/menu/JSON