A RESTful web application using the Python framework Flask that provides a variety of sports categories, category items and a user registration & third-party OAuth authentication system. Registered users have the ability to post, edit and delete their own items.
This project satisfies a project requirement for Udacity's Full Stack Web Developer Nanodegree.
-
Download & install VirtualBox
-
Download & install Vagrant
Check if Vagrant is successfully installed by running on terminal.
vagrant --version
If you see the version number, then you're good.
-
Download or Clone the repository
git clone https://github.com/kiraheta/item-catalog-app.git
-
cd
into directory item-catalog-app/catalog.
-
Inside the subdirectory, run the command
vagrant up
. Doing so will download & install the Linux OS. -
Once
vagrant up
is completed and your shell prompt returns, runvagrant ssh
to log into the newly installed Linux OS. -
Lastly, run
cd /vagrant
-
Run
python database_setup.py
to initialize the database -
Run
python lotsofitems.py
to populate the database with categories and category items.
-
Run
python application.py
to run the Flask web server. -
Visit
http://localhost:8000
to view the item catalog app. -
Login via Google signin to add, edit, and delete catalog items and categories.