Skip to content

MahmoudAdel1996/catalog

Repository files navigation

Item-Catalog

by Mahmoud Adel, in fulfillment of Udacity's

Description

This project can preview all stores on the world with address, can preview all products that already exist in a specific store, and many features when user is logged in then he have a permission to create, edit, delete store and product but he can delete and edit only things he was created before, developed by Python Flask Framework with persistent data storage SQLite Database.

Getting Started

Prerequisites

Install required lib

$ pip install flask
$ pip install functools
$ pip install sqlalchemy
$ pip install httplib2
$ pip install requests
$ pip install oauth2client

How To Run

instde project folder open git bash then write
$ python add_items.py
$ python views.py

Preview (ScreenShot)

Store Page Store Page

Product Page http://localhost:8000/store/(StoreName)/products Product Page

Login Page http://localhost:8000/login Login Page

Users Page http://localhost:8000/users Users Page

Create New Store Page http://localhost:8000/ Create New Store Page

Edit Store Page http://localhost:8000/store/(StoreName)/edit Edit Store Page

Delete Store Page http://localhost:8000/store/(StoreName)/delete Delete Store Page

Create New product Page http://localhost:8000/store/(StoreName)/product/new Create New product Page

Edit product Page http://localhost:8000/store/(StoreName)/(ProductName)/edit Edit product Page

Delete product Page http://localhost:8000/store/(StoreName)/(ProductName)/delete Delete product Page

JSON Endpoint http://localhost:8000/stores/json JSON Endpoint

http://localhost:8000/store/Carfoure/products/json JSON Endpoint

http://localhost:8000/store/Carfoure/product/Tomato/json JSON Endpoint

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published