An open API service indexing awesome lists of open source software.

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

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.