Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weiwei2694/nextjs14-wei-ecommerce
Full Stack E-Commerce: NEXT.js14, React, Typescript, Prisma, Kinde, Tailwind CSS, UploadThing, PostgreSQL, Shadcn UI, Zustand
https://github.com/weiwei2694/nextjs14-wei-ecommerce
kinde-auth nextjs nextjs14 postgresql prisma react sql tailwindcss typescript uploadthing zustand
Last synced: about 1 month ago
JSON representation
Full Stack E-Commerce: NEXT.js14, React, Typescript, Prisma, Kinde, Tailwind CSS, UploadThing, PostgreSQL, Shadcn UI, Zustand
- Host: GitHub
- URL: https://github.com/weiwei2694/nextjs14-wei-ecommerce
- Owner: weiwei2694
- Created: 2024-05-17T16:32:32.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-10T03:35:48.000Z (7 months ago)
- Last Synced: 2024-06-10T05:41:52.686Z (7 months ago)
- Topics: kinde-auth, nextjs, nextjs14, postgresql, prisma, react, sql, tailwindcss, typescript, uploadthing, zustand
- Language: TypeScript
- Homepage: https://nextjs14-wei-ecommerce.vercel.app
- Size: 775 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Full Stack E-Commerce: NEXT.js14, React, Typescript, Prisma, Kinde, Tailwind CSS, UploadThing, PostgreSQL, Shadcn UI, Zustand
## Key Features
- Dashboard for Admin
- Pagination
- Search Product
- Filtering Product
- Payment Gateway using Stripe
- Authentication & Authorization using Kinde
- Manages Image using UploadThing
- Beautiful UI using Shadcn UI## Cloning the repository
```bash
git clone https://github.com/weiwei2694/nextjs14-wei-ecommerce.git
cd nextjs14-wei-ecommerce
```## Install packages
```bash
npm install
yarn install
pnpm install
bun install
```## Setup .env file
```bash
DATABASE_URL=KINDE_CLIENT_ID=
KINDE_CLIENT_SECRET=
KINDE_ISSUER_URL=
KINDE_SITE_URL=http://localhost:3000
KINDE_POST_LOGOUT_REDIRECT_URL=http://localhost:3000
KINDE_POST_LOGIN_REDIRECT_URL=http://localhost:3000/auth-callbackADMIN_EMAIL=your email
UPLOADTHING_SECRET=
UPLOADTHING_APP_ID=STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=NEXT_PUBLIC_SERVER_URL=http://localhost:3000
```## Setup Prisma
```bash
npx prisma generate
npx prisma db push
```## Available commands
| Command | Description |
| ---------------------- | ---------------------------------------- |
| `npm run dev` | Starts a development instance of the app |
| `npm run build` | Builds the app for production |
| `npm run start` | Starts the app in production mode |