This project provides a list of items within a variety of categories as well as provides a user registration and authentication system. Registered users will have the ability to post, edit and delete their own items. The application also provides a JSON endpoint.
- Install Python 2.7.
- Install Vagrant and VirtualBox.
- Clone this repository to your local machine:
git clone https://github.com/minghua1991/item-catalog.git
- Go to the directory that contains all code of this repository:
cd item-catalog
- Set up VM:
vagrant up
- Login to the virtual machine via SSH:
vagrant ssh
- Go to catalog directory:
cd /vagrant/item-catalog
- Initialize the database:
python database_setup.py
- Setup dummy data in the database (Optional):
python dummy_database.py
- Run the web server:
python project.py
- Navigate to http://localhost:8080/ in web browser.
MIT