Skip to content

Item Catalog is a web application that provides a list of items within a variety of categories and integrates third party user registration and authentication. Authenticated users should have the ability to post, edit, and delete their own items.

Notifications You must be signed in to change notification settings

anrichp/Item-Catalog

Repository files navigation

Item Catalog

Item Catalog is a web application that provides a list of items within a variety of categories and integrates third party user registration and authentication. Authenticated users should have the ability to post, edit, and delete their own items.

Installation

Download the Latest version of Python

  • Download Python here

Install Dependencies

To run this project, you will need to run the requirements.txt file listed in dependencies section below.

Dependencies

pip install -r requirements.txt

Create & Populate Database

  • This project already includes a database with pre-populated data
  • Please delete the data-dev.sqlite file before running db.create_all() & populateDB
export FLASK_APP=itemCatalog.py
flask shell
import itemCatalog
db.create_all()
import populateDB

Run the Application

python itemCatalog.py

JSON Endpoints

Endpoint for individual item

/catalog/<category>/<item>/JSON

Endpoint for entire catalog

/catalog/JSON

About

Item Catalog is a web application that provides a list of items within a variety of categories and integrates third party user registration and authentication. Authenticated users should have the ability to post, edit, and delete their own items.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published