Catalog App
The Catalog App is a web application created by Roberto Zanchi as a stage 3 project for the Full Stack Web Developer Nanodegree. Catalog app is coded in Python using the Flask framework and runs on a Vagrant virtual machine.
-
Install Vagrant https://www.vagrantup.com/
-
Install VirtualBox https://www.virtualbox.org/
-
Clone the content of GitHub repository https://github.com/robertozanchi/catalog-web-application into your local vagrant folder
Flask (0.9) Flask-Login (0.1.3) Flask-SeaSurf (0.2.1) httplib2 (0.9.1) oauth2client (1.4.12) SQLAlchemy (0.8.4) Werkzeug (0.8.3)
-
Initiate vagrant and launch the virtual machine with the command "vagrant ssh"
-
Once in the virtual machine, change directory to the "catalog" folder
-
Create catalog.db database by running "python database_setup.py"
-
Populate database with item categories and sample items by running "python sample_data.py"
-
Run the Catalog web application by running "python application.py"
-
Visit http://localhost:5000/ in your browser
JSON: A JSON catalog of items is available at /application/JSON
XML: An XML catalog of items is available at /application/xml