MenzyCart is a full-stack eCommerce web app built with modern technologies like Next.js, Sanity CMS, Redux Toolkit, and Clerk authentication. It features both user and admin panels, a seamless shopping experience, and dynamic content management.
- Frontend : Next.js 13+ App Router, React.js, TypeScript, Tailwind CSS, Shadcn UI
- CMS : Sanity.io – for dynamic product and content management
- State Management : Redux Toolkit
- Auth : Clerk (secure, real-time user authentication)
- Deployment : Vercel
- ✅ User authentication with Clerk
- 🛍️ Dynamic product listing from Sanity CMS
- 🧺 Cart management with Redux Toolkit
- 🔐 Protected routes for admin panel
- 📦 Checkout and Buy Now functionality
- 🛠 Admin panel to manage products and orders
- 🌐 Fully responsive layout using Tailwind & Shadcn UI
- ⚙️ Clean and modular folder structure
├── app # Routing (Next.js App Router)
├── components # Reusable UI components
├── redux # Redux Toolkit store and slices
├── sanity # Sanity CMS integration
├── lib/utils # Utility functions
├── public # Static files and images
└── ...To run the project locally :
git clone https://github.com/TheVinayakGore/MenzyCart.git
cd MenzyCart
npm install
npm run devOpen your browser at http://localhost:3000
If you want to use your own content :
- Go to sanity/ directory
- Run sanity init
- Deploy the studio using sanity deploy
- Replace the project ID and dataset in the app’s env variables
- Create a project on Clerk.dev
- Add your Clerk keys to .env.local:
CLERK_PUBLISHABLE_KEY=your_key
CLERK_SECRET_KEY=your_key
NEXT_PUBLIC_CLERK_FRONTEND_API=your_apiYou can easily deploy it using Vercel in just a few steps :
1.Push the project to GitHub - Make sure your code is committed and pushed to a GitHub repository. 2.Login to Vercel - Go to vercel.com and sign in with GitHub. 3.Import your GitHub Repository - Click on + New Project → Import Git Repository. - Select the Stock-Manager repo from the list. 4.Configure Environment Variables - Add your environment variables during the setup:
MONGODB_URI=your_mongodb_connection_string- Choose Framework Preset
- Vercel will auto-detect the Next.js framework. Leave the default settings unless custom.
- Deploy
- Click Deploy and wait for Vercel to build and deploy your app.
- Once done, you’ll get a live URL like:
https://your-project-name.vercel.app- Post-Deployment
- Optionally, go to your project settings on Vercel and :
- Set up a custom domain.
- Configure automatic re-deployment on GitHub pushes.
- Enable serverless function logs and analytics.
🔗 Vercel Docs - Getting Started
Built with ❤️🩹 by Vinayak Gore
For queries or feedback, feel free to connect : @vinayakgore.vercel.app
Let me know if you’d like a badge section, GIF demo preview, or GitHub stats added as well !
💻 Happy coding ! 🎉
⌲ Design.Implement.Inspire