For Admin DEMO, use @Vercel For Store DEMO, use @Vercel
Store repo @Github
- TypeScript
- TailwindCSS - A utility-first CSS framework
- React - JS library
- NextJS - Next.js enables you to create full-stack Web applications by extending the latest React features
- Prisma - Next-generation Node.js and TypeScript ORM
- PlanetScale - PlanetScale is the world’s most advanced serverless MySQL platform
- MySQL - Relational database management system
- Zustand - A small, fast and scalable bearbones state-management solution using simplified flux principles.
- Clerk - Integrate complete user management UIs and APIs, purpose-built for React, Next.js, and the Modern Web.
- Stripe - Suite of APIs powering online payment processing and commerce solutions for internet businesses of all sizes.
- shadcn UI - Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
Key Features:
- Admin dashboard serve as both CMS, Admin and API!
- Ability to control mulitple vendors / stores through this single CMS! (For example you can have a "Shoe store" and a "Laptop store" and a "Suit store", and CMS will generate API routes for all of those individually!)
- Ability to create, update and delete categories!
- Ability to create, update and delete products!
- Ability to upload multiple images for products, and change them whenever you want!
- Ability to create, update and delete filters such as "Color" and "Size", and then match them in the "Product" creation form.
- Ability to create, update and delete "Billboards" which are these big texts on top of the page. Ability to attach them to a single category, or use them standalone (Admin generates API for all of those cases!)
- Ability to Search through all categories, products, sizes, colors, billboards with included pagination!
- Ability to control which products are "featured" so they show on the homepage!
- Ability to see your orders, sales, etc.
- Ability to see graphs of your revenue etc.
- Clerk for authentication
- Order creation
- Stripe for payment
- MySQL + Prisma + PlanetScale
Node version 14.x
git clone https://github.com/xroobix/clothes-ecommerce-admin.git
pnpm i
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
# This was inserted by `prisma init`:
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
DATABASE_URL=''
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=""
STRIPE_API_KEY=
FRONTEND_STORE_URL=http://localhost:3001
STRIPE_WEBHOOK_SECRET=
pnpm exec prisma generate
pnpm exec prisma db push
pnpm run dev