ecommerce-admin Tailwind Templates

Ecommerce Admin

Full Stack E-Commerce + Dashboard & CMS: Next.js 13 App Router, React, Tailwind, Prisma, MySQL,

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

npx create-next-app@latest ecommerce-admin --typescript --tailwind --eslint

lucide icon

npx shadcn-ui@latest init => ui

npx shadcn-ui@latest add button => ui button

clerk auth => login auth ตรวจสอบสิทธิ์ npm install @clerk/nextjs

// ui npx shadcn-ui@latest add dialog => ui dialog / Modal npx shadcn-ui@latest add button npx shadcn-ui@latest add form npx shadcn-ui@latest add input npx shadcn-ui@latest add popover => ปุ่ม select npx shadcn-ui@latest add command => ตัวเลือกใน popover npx shadcn-ui@latest add separator => ui แบ่งหมวดหมู่ npx shadcn-ui@latest add alert => ui alertแจ้งเตือน npx shadcn-ui@latest add badge => ui ตราสัญลักษณ์ npx shadcn-ui@latest add table => ui table npm install @tanstack/react-table => ui table npx shadcn-ui@latest add dropdown-menu => dropdown npx shadcn-ui@latest add select => ui select npx shadcn-ui@latest add checkbox => checkbox npx shadcn-ui@latest add card => ui card npm install next-themes =>ui darkmode

npm install zustand => สร้าง state action

npm i -D prisma => จัดการฐานข้อมูล npm install @prisma/client npx prisma generate => อัพเดท modal npx prisma db push => อัพเดท modal ฐานข้อมูล npx prisma migrate reset => ใช้ในการลบ ฐานข้อมูล

planetscale => ฐานข้อมูล mysql ในรูปแบบ Cloud Native

npm i axios => api

npm i react-hot-toast => alret

npm install next-cloudinary => ฝากรูป

npm i date-fns => จัดรูปแบบวันเวลา format

npm i clsx tailwind-merge => cn

Stripe CL เรียกใช้คำสั่งจาก stripe ผ่าน cmd

npx shadcn-ui@latest add card => ui card

npm install recharts => ui กราฟ ชาท

https://ecommerce-admin-chi-khaki.vercel.app/

Top categories

Loading Svelte Themes