Skip to content

NathanCYee/131_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

203 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-Buy

CircleCI codecov Last Commit Built by SJSU Students Trello

E-Buy is a revolutionary E-Commerce website that connects merchants with customers.

Table of Contents

Features

  • Login and register account functionality accessible through /login and /register
  • Account information, delete account, and change password accessible through /account_info
  • Previous orders for customers accessible through /orders
  • Merchant portal accessible through /merchant
    • Merchant login/register accessible through /merchant/login and /merchant/register
    • Create a new product accessible through /merchant/new_product
      • Merchants can view and fill orders through /merchant/orders
    • Merchants can create a new promotion for their products at /merchant/promo
  • Product pages with the url /product/<id>
    • Add to cart functionality with quantity on product pages
    • Product reviews for customers that have ordered a product
    • Displays product images uploaded by merchant
  • Product catalogs with the url /catalog/<id>
  • Merchant catalog accessible through /merchant/<id>
  • REGEX search accessible through search form in the navbar
  • Cart located at /cart for logged-in users
    • Checkout cart link located in the cart
    • Checkout with discount code support
  • Available discounts accessible at /discounts
  • Admin page accessible from /admin/promo

Setup and Install

Please make sure python 3 is installed (working on python 3.8).

  • Download the library as a zip or by cloning it using git clone https://github.com/NathanCYee/131_project.git
  • Navigate to the folder in which the project is stored (e.g. cd 131_project)
  • Install the prerequisites using pip install .
  • Decide if you want to create a new database or use the provided database
    • If you want to create a new database, setup and create the database by running the create_db.py file using python3 create_db.py
    • If you are using the sample database, every account has the password password
      • Merchant accounts: SUPREME, Hondipo, Gamestomp, Worst-Buy
      • Discounts visible at /discounts
      • Admin account: admin (login from customer portal)
        • access promo page at /admin/promo
  • Run the webapp by running python3 run.py
  • If run on a local machine, site will be accessible at localhost:5000 or http://127.0.0.1:5000/ from a browser

If errors occur with jinja, try to manually upgrade flask by using pip install --upgrade Flask.

Technologies

Project was built with:

Team Progress

Team Members


Your Repository's Stats

About

E-commerce website created for CMPE 131 @ SJSU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors