Skip to content

Latest commit

 

History

History
128 lines (88 loc) · 1.5 KB

CONTRIBUTING.md

File metadata and controls

128 lines (88 loc) · 1.5 KB

package installation

npm i

or

npm install

Database Commands


npx prisma db push

this is to see the database in localhost:

npx prisma studio

Shadcn- dependencies

  1. dropdown-menu
npx shadcn@latest add dropdown-menu
npx shadcn@latest add avatar
  1. button
npm i @radix-ui/react-slot
  1. Avatar
npm i @radix-ui/react-avatar
  1. 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 payment local testcase:

stripe login
stripe listen --forward-to localhost:3000/api/webhook

after running above command you'll get the Webhook secret key add it in the .env as STRIPE_WEBHOOK_SECRET