Part of the udacity Full Stack Web Developer Nanodegree.
Python application that provides a list of items within a variety of categories as well as provide a user registration and authentication system. Registered users will have the ability to post, edit and delete their own items.
- Python 3
- Vagrant
- VirtualBox
- Clone this repository.
- Look for the catalog folder and replace it with the contents of this respository.
Bring up the VM with the following command:
vagrant up
The first time you run this command, it will take awhile, as Vagrant needs to download the VM image.
You can then log into the VM with the following command:
vagrant ssh
More detailed instructions for installing the Vagrant VM can be found here.
Once inside the VM, navigate to the catalog directory with this command:
cd /vagrant/catalog
Run the application with the following command:
python application.py
After the last command you are able to browse the application at this URL:
http://localhost:5000/
You could access the api endpoints by following this paths:
/catalog/JSON
- List of catalog categories in JSON/catalog/int:category_id/JSON
- List of items in category requested in JSON/catalog/<int:category_id>/items/<int:item_id>/JSON
- List the details of specific item