This is a catalog project that stores and shows Restaurant Menu information.
The catalog has menu categories and food items.
Each category has a name and a description.
Each item has a name, a description and is related to a category.
To run this catalog, the following software and libraries are necessary:
-
PostgreSQL - installation instructions here
-
Python 2.7 - installation instructions here
-
Additional Python libraries:
Alternative to download: Run pg_config.sh
to install or update necessary software and libraries.
A database is necessary to run this project.
To create the database, run:
$ python database_setup.py
To create some initial data in the database, run:
$ python lotsofmenus.py
To start the server, run:
$ python application.py
To access the application, open a browser and type:
Visit this page to see a json list of all restaurants in the catalog.
Go to this page to see all categories and the most recent added items.
From the initial category page, select the desired category and it will show all items of that category.
In order to modify information you must log in using Google or Facebook authentication. Authenticated users have the ability to post, edit, and delete their own items.
You can create new items related to the existing categories.
You can change name and description of a given item.
You can delete an item.