Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Faishon-Ease E-commerce Website

An e-commerce platform focused on fashion products, enabling users to browse, shop, and manage their purchases with ease.

Features

  • Product listings with categories and filtering
  • User authentication (sign up, login, logout) using JWT tokens for secure session management
  • Secure CORS implementation for API communications
  • Product image management and uploads via Cloudinary
  • Shopping cart with add/remove/update functionality
  • Product reviews and ratings
  • Simple checkout process
  • Admin panel for managing products and orders
  • Responsive design for desktop and mobile devices

Tech Stack

  • Backend: Python
  • Frontend: React.js, Tailwind CSS
  • Database: SQLite (easy setup for development and lightweight production use)
  • Authentication: JWT (JSON Web Tokens)
  • Image Hosting: Cloudinary
  • Security: CORS configured to allow safe cross-origin requests

Getting Started

Prerequisites

  • Python 3.x
  • pip (Python package installer)
  • SQLite (comes standard with Python)
  • Cloudinary account

Installation

git clone https://github.com/stylemecck/Faishon-Ease-E-commerce-website.git
cd fashionease-main
pip install -r requirements.txt

Environment Variables

Create a .env file in the project root with these variables:

CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret
SECRET_KEY=your_jwt_secret
CORS_ORIGINS=http://localhost:3000

Running the App

python app.py

(Replace app.py with your main file if different.)

Building for Production

Consult your web framework's deployment instructions (e.g., Gunicorn, uWSGI, etc.)

Folder Structure

fashionease-main/
├── static/           # Static assets
├── templates/        # HTML templates
├── app.py            # Flask/FastAPI/Django entry point
├── models.py         # Database models
├── routes/           # API routes/endpoints
├── utils/            # Utility functions (e.g., JWT, image upload)
├── requirements.txt
└── README.md

Cloudinary Integration

Image uploads are handled and stored securely using Cloudinary. Ensure your API keys are set in the environment.

Authentication

User authentication is managed using JWT, ensuring secure and stateless session management.

Database

Data storage is managed using SQLite, providing a lightweight and zero-configuration database solution suitable for development.

Contributing

Contributions are welcome! Please open issues or submit pull requests.

License

Specify your license here, e.g., MIT License.


About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages