DevStore is a Next.js e-commerce project focused on developer products, featuring modern frontend resources and cart management.
- Framework: Next.js
- Language: TypeScript
- Styling: Tailwind CSS
- State Management: Context API
- Validation: Zod
- Icons: Lucide React
- 🛒 Shopping cart
- 🔍 Product search
- 📱 Responsive layout
- 🖼️ Optimized images
- ⚡ Performance optimization
- 🌐 Dynamic routing
- Node.js (version 18 or higher)
- npm or yarn
- Clone the repository
git clone https://github.com/your-username/devstore.git- Install dependencies
cd devstore
npm install
# or
yarn install- Copy environment file
cp .env.example .env.local- Start development server
npm run dev
# or
yarn devsrc/
├── app/
│ ├── (store)/
│ │ ├── product/
│ │ └── search/
├── components/
├── contexts/
├── data/
└── styles/
Header: Header with search and cartCartWidget: Displays cart itemsSearchForm: Search formAddToCartButton: Product add to cart button
dev: Start development serverbuild: Compile for productionstart: Start production serverlint: Run linter
Configured for easy deployment on platforms like Vercel.
NEXT_PUBLIC_API_BASE_URL: API base URLAPP_URL: Application URL
- Fork the project
- Create your feature branch (
git checkout -b feature/new-feature) - Commit your changes (
git commit -m 'Add new feature') - Push to the branch (
git push origin feature/new-feature) - Open a Pull Request
Distributed under the MIT License.