Item-Catalog Project for Udacity's FullStack Nanodegree
This application provides a list of items within a variety of categories as well as provide a user authentication system. Login users will have the ability to post, edit, and delete their own items.
- Full CRUD support using SQLAlchemy and Flask.
- JSON endpoints.
- Implements oAuth using Google Sign-in API.
-
Download and install Vagrant.
-
Download and install VirtualBox.
-
Clone or download the Vagrant VM configuration file from Udacity.
-
Open the above directory and navigate to the vagrant/ sub-directory.
-
Open your terminal in the same directory as you vagrant file
vagrant up
-
This will cause Vagrant to download the Ubuntu operating system and install it. This may process may take quite a while depending on your Internet speed.
-
After the the installation completes, connect to the newly created VM by typing in yout terminal:
vagrant ssh
-
To the shared repository type:
cd/vagrant/
-
Download or clone this repository, and navigate to it.
-
Install or upgrade Flask:
sudo python3 -m pip install --upgrade flask
-
Set up the database:
python3 catalog_setup.py
-
This step is optional, you can add Shops, Items via your browser when the programm is already running.
python3 catalog_add.py
-
Run this application:
python3 application.py
-
In your favourite Web browser open: http://localhost:5000, and enjoy ๐.