package installation
npm i
or
npm install
Database Commands
npx prisma db push
this is to see the database in localhost:
npx prisma studio
- dropdown-menu
npx shadcn@latest add dropdown-menu
npx shadcn@latest add avatar
- button
npm i @radix-ui/react-slot
- Avatar
npm i @radix-ui/react-avatar
- Dark theme
npm i next-themes
# Generate Nextauth secret(In Ubuntu)
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
# Generate Nextauth secret(In Windows) if above command doesn't work
node -e 'console.log(require("crypto").randomBytes(32).toString("hex"))'
npx shadcn@latest add form
npm install react-hook-form
npm install @hookform/resolvers
npx shadcn@latest add input
npx shadcn@latest add separator
npm install framer-motion
npm install [email protected]
npm i @tanstack/react-query
npx shadcn@latest add toast
npm install youtube-transcript
npx shadcn@latest add radio-group
npm install stripe
npm install animated-tooltip
stripe login
stripe listen --forward-to localhost:3000/api/webhook