The Item Catalog project consists of developing an application that provides a list of items within a variety of categories, as well as provide a user registration and authentication system.
This web application was built with HTML5, CSS, Bootstrap, Vagrant, Flask, SQLAlchemy, Google and Facebook Oauth2 & APIs.
To run the web application:
- Clone the repository using
sudo git clone https://github.com/avi1245/FSND_item_catalog.git
- Install all required python package using
sudo pip install requirements.txt
present in the project directory. - From directory /FSND_item_catalog/, initialize the application database by typing
python database_setup.py
- From directory /FSND_item_catalog/, run the application within the VM by typing
python main.py
into the Terminal. - Access the application by visiting http://localhost:8000 locally on the browser.
/catalog.json
- Returns JSON of all items in catalog.
/<category_name>/items.json
- Returns JSON of for all items of a specific category.
/category/<category_name>/item/<item_name>/JSON
- Returns JSON for an arbitrary item in the catalog.
/categories.json
- Returns JSON of all categories in catalog.
/users.json
- Returns JSON of all users.
/login
- login page
- Styling and layout could improve
- Implement CSRF protection on CRUD operations.