8000 GitHub - navid2099/Sabad: E-Commerce Application
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

navid2099/Sabad

Repository files navigation

Sabad

Full Stack E-Commerce website with Admin panel

Install all packages

npm i

Setup .env file for run

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=/

DATABASE_URL=''
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=""
STRIPE_API_KEY=
FRONTEND_STORE_URL=http://localhost:3001
STRIPE_WEBHOOK_SECRET=

Connect to SQLite and Push Prisma

npx prisma generate
npx prisma db push

Prisma and DB managing

npx prisma migrate dev --prewiew-feature
npx prisma migrate reset
npx prisma studio

Start the app

npm run dev

Releases

No releases published

Packages

No packages published
0