Skip to content

A catalog web app for Udacity Full Stack Web Nanodegree assignment 2

License

Notifications You must be signed in to change notification settings

garaujo23/Catalog-Web-App

Repository files navigation

Catalog Web App

Solution for Assignment 2 of the Udacity Full Stack nanodegree. The task is to create an application that provides a list of items within a variety of categories as well as provide a user registration and authentication system

Install

Download Python 2.7 - required to run the python flask web application. Documentation available here

Dependencies

Install Flask and SQLAlchemy

pip install Flask
pip install SQLAlchemy

Create Database and Populate

The creation of the database and categories are only required for the initial install. To create the Sqlite database run:

python database_setup.py

Database contains two tables, Category with id and title columns and Items with id, title, description, category_id, category and date_time. To populate categories run:

python create_categories.py

If you would like to add your own categories, edit the list in the file create_categories.py

Run Flask Web App

To run the web app:

python catalog.py

Open a browser and go to http://localhost:5000 to view the application.

About

A catalog web app for Udacity Full Stack Web Nanodegree assignment 2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published