An e-commerce platform focused on fashion products, enabling users to browse, shop, and manage their purchases with ease.
- 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
- 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
- Python 3.x
- pip (Python package installer)
- SQLite (comes standard with Python)
- Cloudinary account
git clone https://github.com/stylemecck/Faishon-Ease-E-commerce-website.git
cd fashionease-main
pip install -r requirements.txt
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
python app.py
(Replace app.py with your main file if different.)
Consult your web framework's deployment instructions (e.g., Gunicorn, uWSGI, etc.)
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
Image uploads are handled and stored securely using Cloudinary. Ensure your API keys are set in the environment.
User authentication is managed using JWT, ensuring secure and stateless session management.
Data storage is managed using SQLite, providing a lightweight and zero-configuration database solution suitable for development.
Contributions are welcome! Please open issues or submit pull requests.
Specify your license here, e.g., MIT License.