HEI204 / ALE-SHOP

This is my final project for CS50 which is web application about online shopping site using Flask to develop

Home Page:https://ale-shop-production.up.railway.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ALE-SHOP

Description:

It is my final project for CS50 which is web application about online shopping site using Flask to develop. For this website, it requires all customers to create their own account first in order to buy the product on the site. After the user have created their own account, it will provide $200000 to the account by default. Then the user can use the money to buy the product that they would like to buy via add to the cart and purchase it if they have enough money.

Also, admin/manager can also use their pre-registered account to login in order to check and update the product information or the order information. (Account: admin123, Password: admin)

Introduction

User page

  • index page:
    For the index page, it will show all the product that are available on the website and allow user to click 'Add to Cart' or click 'More Info' for each product. image

  • Register page:
    If a user do not have their own account, then the user need to create their own account, it will also check for the uniqueness of the username, validation for password and email in order to avoid any error during registration image

  • Login page:
    If user have their own account, then the user can login their own account, it will check for the existance for the username that you input and correctness for the password with that username image

  • Add to Cart:
    After user have login their account, user can add any product to the cart if they are interested in that product by clicking 'Add to Cart' button for that product and it will shows a sucessful message about added to the cart. If a user would like to buy the product in the cart then they can click 'Confirm Purchase' for purchase all items in the cart or user can click 'Remove' if they would like to remove the product in the cart. Also, if a user do not have enoguh money to buy it, it will show a failure message to tell the user. image

  • Product info page:
    After user clicked the button "More Info" for the product in index page, it will redirect to another page which have more detail information regarding to that product image

  • History page:
    If a user have purchase the items in the cart, then user can check their order information on the history page. Also, user can click 'View Detail' to check what product they have bought for that order image image

  • Add Cash:
    User can add any amount of cash that they would like to add by input the amount of cash in the input box and it will update immediately image

Admin page

  • Dashboard:
    Admin can view the product info and click update for update the relevant information about the product image

  • Update Product
    If admin click the button 'update' in the dashboard, then it will goes to the page for admin to update the information of that particular product image

  • Add Product
    Admin can also add product to the database by input relevant information based on the form image

Reference:

About

This is my final project for CS50 which is web application about online shopping site using Flask to develop

https://ale-shop-production.up.railway.app/


Languages

Language:HTML 49.0%Language:Python 44.6%Language:CSS 6.3%Language:Procfile 0.1%