A modern, responsive e-commerce platform built with React, featuring a sophisticated dark/light theme system and advanced product management.
- Responsive Design: Fully responsive UI that works seamlessly across all devices
- Theme System: Sophisticated dark/light theme with smooth transitions
- Product Management:
- Advanced filtering and search capabilities
- Dynamic product loading with pagination
- Detailed product views with modal support
- Shopping Cart:
- Real-time cart updates
- Persistent cart state
- Quick checkout process
- Modern UI/UX:
- Animated components
- Intuitive navigation
- Loading states and error handling
- Node.js (v16 or higher)
- npm
- Clone the repository:
git clone https://github.com/iemafzalhassan/online-shop.git
cd online-shop
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Build for production:
npm run build
# Build the Docker image
docker build -t online-shop .
# Run the container
docker run -d -p 3000:3000 --name online-shop online-shop
The application will be available at http://localhost:3000
-
Stop the container:
docker stop online-shop
-
Remove the container:
docker rm online-shop
-
View logs:
docker logs online-shop
- Frontend Framework: React 18
- Styling:
- Custom CSS with CSS Variables
- State Management: React Context API
- Icons: Font Awesome
- Build Tool: Vite
- Package Manager: npm/yarn
online-shop/
├── src/
│ ├── components/ # Reusable components
│ ├── context/ # React Context providers
│ ├── data/ # Mock data and constants
│ ├── pages/ # Page components
│ ├── utilities/ # Helper functions
│ └── index.css # Global styles
├── public/ # Static assets
└── package.json # Project dependencies
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
- Follow the existing code style and naming conventions
- Write meaningful commit messages
- Add appropriate comments for complex logic
- Update documentation for significant changes
- Add tests for new features
- GitHub Actions for automated testing and deployment
- Automated version bumping
- Docker containerization support
- Automated dependency updates
See our detailed ROADMAP.md for planned features and improvements.
Key upcoming features:
- User authentication system
- Product reviews and ratings
- Admin dashboard improvements
- Payment gateway integration
- Performance optimizations
- Integration with OpenTelemetry for observability
- Performance monitoring
- Error tracking
- User behavior analytics
This project is licensed under the MIT License - see the LICENSE file for details.
- React team for the amazing framework
- Bootstrap team for the UI components
- All our contributors and supporters
For support, email iemafzalhassan@gmail.com or join our Discord channel.