https://github.com/n4vrl0s3/e-commerce-python-website
Simple Website E-Commerce made with Python
https://github.com/n4vrl0s3/e-commerce-python-website
flask flask-application green gsap gsap-scrolltrigger python
Last synced: 3 months ago
JSON representation
Simple Website E-Commerce made with Python
- Host: GitHub
- URL: https://github.com/n4vrl0s3/e-commerce-python-website
- Owner: n4vrl0s3
- License: apache-2.0
- Created: 2024-12-25T18:58:09.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2025-01-25T19:54:06.000Z (5 months ago)
- Last Synced: 2025-04-05T19:08:03.823Z (3 months ago)
- Topics: flask, flask-application, green, gsap, gsap-scrolltrigger, python
- Language: HTML
- Homepage: https://e-commerce-python-website.guanshiyinnn.com/
- Size: 5.3 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# E-Commerce Python Website
This repository aims to provide a starting point for developing a Python-based marketplace web application.
## Purpose of This Repository
This repository serves as a foundational framework for developing a Python-based marketplace web application, encompassing core features such as user registration and authentication, product listing and management, basic search functionality, and a user-friendly interface, providing a robust starting point for developers seeking to build a dynamic and scalable online marketplace platform.
## Demonstration
Here is a demonstration of the `add_product` function from `app.py`:
```python
def add_product(name, description, price):
product = {
'name': name,
'description': description,
'price': price
}
# Code to add the product to the database
return product# Example usage
new_product = add_product('Sample Product', 'This is a sample product.', 19.99)
print(new_product)
```
## Features
- User registration and authentication
- Product listing and management
- Basic search functionality
- User-friendly interface
- Responsive design
## Technologies Used
- Python
- Flask
- SQLite
- HTML/CSS
- JavaScript
## Project Setup
Follow these steps to set up the project on your local machine.
### Prerequisites
- Python installed on your machine
- pip (Python package installer)### Steps to Run
1. Install Python
2. Install & upgrade pip```bash
python -m ensurepip --upgrade
python get-pip.py
python -m pip install --upgrade pip
```3. Clone this Repository
```bash
git clone https://github.com/guanshiyin28/E-Commerce-Python-Website.git
```4. Direct to the directory
```bash
cd E-Commerce-Python-Website
```5. Install requirements.txt
```bash
pip install -r requirements.txt
```6. Run with Python and see through the localhost
```bash
python app.py
```
## License
This project is licensed under the Apache-2.0 License. See the [LICENSE](LICENSE) file for details.