A modern, high-performance eCommerce frontend built with React and Vite, designed for scalability, clean architecture, and fast development.
- ⚡ Blazing fast development with Vite (HMR enabled)
- ⚛️ Modern React (Hooks + Functional Components)
- 🎯 Clean and scalable folder structure
- 📦 Optimized production builds
- 🔍 ESLint for code quality
- 🔐 Ready for API integration (Laravel / Firebase / Node)
- 📱 Fully responsive UI support (Tailwind / CSS ready)
- Frontend: React
- Build Tool: Vite
- Linting: ESLint
- Package Manager: npm / yarn
- Optional: TypeScript support
src/
│── assets/ # Images, icons, static files
│── components/ # Reusable UI components
│── pages/ # Application pages
│── services/ # API calls / business logic
│── hooks/ # Custom React hooks
│── utils/ # Helper functions
│── App.jsx # Root component
│── main.jsx # Entry point
git clone https://github.com/CodeWithRehan-Stacks/ecommer.git
cd ecommer
npm install
npm run dev
npm run build
This project includes a basic ESLint setup. For production-grade apps, consider:
- Enabling TypeScript
- Using
typescript-eslint - Adding stricter linting rules
- Lazy loading (React.lazy)
- Code splitting
- Optimized asset handling via Vite
- Minified production builds
Create a .env file:
VITE_API_URL=http://localhost:8000/api
Add your UI screenshots here to showcase the project
Contributions are welcome! Feel free to fork this repo and submit a pull request.
This project is licensed under the MIT License.
Muhammad Rehan GitHub: https://github.com/CodeWithRehan-Stacks
- 🛒 Cart & Checkout system
- 💳 Payment integration (Stripe / PayPal)
- 🔑 Authentication (JWT / Firebase)
- 📊 Admin dashboard
- 🌐 Multi-language support
⭐ If you like this project, don't forget to star the repo!