Just Learn Item Catalog project is a part of the Udacity Full Stack Web Developer Nanodegree.
Just Learn Item Catalog App stores a list of of Courses within a variety of categories for Learning Full Stack Web Development. Authenticated users have the ability to post, edit, and delete their own items.
The project code requires the following software:
- Python
- SQLAlchemy
- Flask
- The following Python packages:
- oauth2client
- requests
- httplib2
- flask-seasurf (a CSRF defence)
Download the project zip file to you computer and unzip the file. Or clone this repository to your desktop.
In order to log in to the web app, you will need to get either a Google+ or Facebook OAuth app ID and secret key.
For Google, go to the Google Developers Console and for Facebook, go to Facebook Login.
Once you have your credentials, put the IDs and secrets in the fb_client_secrets.json
file for Facebook and g_client_secrets.json
for Google.
Bringing the VM up
Launch the Vagrant VM from inside the vagrant folder with the following command:
vagrant up
log into the VM with the following command:
vagrant ssh
move inside the catalog folder:
cd /vagrant/catalog
Then run the application:
python application.py
Now you are able to browse the application at this URL:
http://localhost:8000/