An E-commerce system built for CP317.
-
Overview: This project is a web-based e-commerce platform built using Python, Flask, and MySQL. It allows users to browse products, add items to a cart, and place orders.
-
Features:
- User account management
- Product browsing
- Shopping cart functionality
- Order processing
- MySQL database backend
- Flask-based web server
-
Environment requirements:
- Python 3.x
- Flask
- MySQL Server
- MySQL Workbench
-
Set up steps:
- Clone the project from GitHub to your device and open it in an IDE with Python.
- Install Flask framework using Terminal with command: pip install flask
- Install MySQL Server and MySQL Workbench. Refer to "mysql_instruction.txt" in the "database" folder for detailed setup steps.
- Make sure the MySQL database is created and the schema is imported as instructed.
- Run the "main.py" file.
- In the terminal, look for the line: ---- * Running on http://127.0.0.1:5000 The link is the local host for the project. Open the link in a browser to view the system.