A project from Udacity's Full Stack Web Developer Nanodegree Program
You will develop an application that provides a list of items within a variety of categories as well as provide a user registration and an authentication system. Registered users will have the ability to post, edit and delete their own items.
- Install Vagrant
- Install VirtualBox
- Clone the repo using
git clone https://github.com/sharynneazhar/FSND-Catalog-P5.git
You need to obtain your own secret keys from Google API and Facebook Developer. A guide to obtaining a Google client ID can be viewed here. Once you register the app, you will be able to download the client secret JSON files required for the project. (Note: Udacity reviewers will be provided the necessary client IDs and secret keys under project submission notes)
- Run the virtual environment
cd /path/to/FSND-Catalog-P5
into the repovagrant up && vagrant ssh
to the Vagrant VMcd /vagrant/FSND-Catalog-P5
into the project directory
- Project Setup
python models.py
to create the databasepython restaurantData.py
to fill in the database with mock datapython app.py
to run the project
- Run The Project
- Navigate to
localhost:5000
to see it working!
- Navigate to
/api/restaurants/
to obtain a list of all restaurants/api/restaurants/<int:restaurant_id>/menu/
to obtain the menu list of a particular restaurant/api/restaurants/<int:restaurant_id>/menu/<int:menu_id>
to obtain details about a particular menu item
- Feature: Integrate Yelp API to include more robust restaurant data
- Feature: Allow for multiple restaurant managers or roles (request access to edit/delete)
- Bug: Google+ authentication throws JSON serializable error randomly