A full-featured eCommerce platform built with Next.js, TypeScript, and TailwindCSS.
- 🛍️ Full eCommerce functionality
- 🏪 Product catalog with categories and filters
- 🔍 Advanced search capabilities
- 🛒 Shopping cart management
- 👤 User authentication and profiles
- 📱 Responsive mobile-first design
- 🎨 Modern UI with Tailwind CSS
- 🌙 Dark/Light theme support
- 🔐 Secure checkout process
- 📦 Order management
- Next.js - React framework for production
- TypeScript - Static type checking
- Tailwind CSS - Utility-first CSS framework
- Redux Toolkit - State management
- SWR - Data fetching
- MongoDB - Database
- React Icons - Icon components
- Clone the repository:
git clone https://github.com/yourusername/ecommerce-ts.git
- Install dependencies:
npm install
# or
yarn install
- Set up environment variables:
NEXT_PUBLIC_BASE_API_URL=your_api_url
- Run the development server:
npm run dev
# or
yarn dev
- Open http://localhost:3000 with your browser to see the result.
├── pages/ # Next.js pages
├── public/ # Static assets
├── src/
│ ├── components/ # React components
│ ├── store/ # Redux store and slices
│ ├── types/ # TypeScript types
│ ├── hooks/ # Custom React hooks
│ └── utils/ # Utility functions
6A92
── styles/ # Global styles
└── ...config files
- Persistent cart storage
- Real-time price updates
- Quantity adjustments
- Remove items
- Phone number verification
- OTP authentication
- User profiles
- Order history
- Product categories
- Advanced filtering
- Search functionality
- Product variants
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.