Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fahimnirjon/Desire

Repository files navigation

πŸ›οΈ Desire - Tech Gadget E-Commerce Platform

Desire is a modern, responsive e-commerce website focused on tech gadgets and electronics. Built using the MERN stack, this platform offers seamless browsing, user authentication, product management, and a streamlined shopping experience.

Desire Banner

πŸ”— Live Site

πŸš€ Visit the Live Site
πŸ“¦ Client Repository


πŸ“Έ Preview

Homepage


🧰 Tech Stack

πŸ”Ή Frontend+Backend

  • Next.js
  • React.js
  • Tailwind CSS
  • ShadCnUI
  • React-Icons
  • Day.js
  • MongoDB
  • Node.js
  • Express.js

πŸ”Ή Tools & Integration

  • CLERK – Secure authentication
  • Zustand - For state management
  • Stripe – Payment gateway integration
  • Sanity.io – Content Management and Product Catalog
  • Vercel – For Deployment

✨ Features

  • πŸ” User Authentication (Clerk/auth)
  • πŸ›οΈ Product Listing & Categorization
  • πŸ›’ Add to Cart with quantity and price calculation
  • 🧾 Order Checkout with Stripe integration
  • πŸ§‘β€πŸ’» Admin Panel (Manage products & orders)
  • πŸ“± Responsive UI for mobile and desktop devices
  • πŸ“· Image Upload (Sanity.io integration)
  • πŸ“¦ Dynamic product filtering and search
  • πŸ“Š Dashboard Analytics (optional future scope)

πŸš€ Getting Started

Clone the repository

git clone https://github.com/fahimnirjon/Desire.git
cd Desire

Install dependencies

npm install
# or if using yarn
yarn

Set environment variables

Create a .env file and add the following:

NEXT_PUBLIC_BASE_URL=http://localhost:3000
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_key
CLERK_SECRET_KEY=your_key
NEXT_PUBLIC_SANITY_PROJECT_ID=your_key
NEXT_PUBLIC_SANITY_DATASET="production"
NEXT_PUBLIC_SANITY_API_VERSION=your_version
SANITY_API_TOKEN=your_key
SANITY_API_READ_TOKEN=your_key
STRIPE_SECRET_KEY=your_key
STRIPE_WEBHOOK_SECRET=your_key

Run the development server

npm run dev

Make sure the backend API server is also running.


πŸ§‘β€πŸ’Ό Author

Fahim Shahriar Nirjon πŸ’Ό MERN Stack Developer πŸ“§ Email | 🌐 Portfolio 🐱 GitHub | πŸ”— LinkedIn


πŸ“ License

This project is licensed under the MIT License.


About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /