This web app is the second project for the Udacity FSND Course.
This is a RESTful web application using the Python framework Flask along with implementing third-party OAuth authentication. In this project I use the various HTTP methods and relate them to CRUD (create, read, update and delete) operations.
1.Python
2.Flask Framework
3.SQL database
4.AJAX
5.Json
6.HTML
7.CSS
8.OAuth
- First of all, it's adviced that you use a virtual machine. So Please download Vagrant and VirtualBox to manage your Virtual machine. To bring up your virtual machine use
vagrant up
andvagrantt ssh
to log in. - The Vagrant file is present in this repo.
- Use
cd /vagrant
to access your shared files. - Initialize the database
$ Python database_setup.py
- Populate the database with some initial data
$ Python lotsofmenus.py
- Run your Application
$ Python project.py
- Access the application locally using http://localhost:5000
/restaurant/JSON
/restaurant/<int:restaurant_id>/menu/JSON
/restaurant/<int:restaurant_id>/menu/<int:menu_id>/JSON