Git Product home page Git Product logo

item-catalog's Introduction

Catalog Restaurant Application - Udacity Full Stack Web Developer Nanodegree

Overview

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.

Set Up / Requirements

To run this catalog, the following software and libraries are necessary:

  • PostgreSQL - installation instructions here

  • Python 2.7 - installation instructions here

  • Additional Python libraries:

    • flask - installation instructions here
    • oauth2client.client - installation instructions here
    • requests - installation instructions here
    • sqlalchemy - installation instructions here

Alternative to download: Run pg_config.sh to install or update necessary software and libraries.

How to run this project

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:

http://localhost:4996

Catalog Functionalities

Json catalog

Visit this page to see a json list of all restaurants in the catalog.

List Categories

Go to this page to see all categories and the most recent added items.

List items of a given category

From the initial category page, select the desired category and it will show all items of that category.

IMPORTANT: Google authentication

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.

Create new items

You can create new items related to the existing categories.

Edit items

You can change name and description of a given item.

Delete items

You can delete an item.

item-catalog's People

Contributors

anacorral10 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.