GithubHelp home page GithubHelp logo

weiwei2694 / nextjs14-wei-ecommerce Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 794 KB

Full Stack E-Commerce: NEXT.js14, React, Typescript, Prisma, Kinde, Tailwind CSS, UploadThing, PostgreSQL, Shadcn UI, Zustand

Home Page: https://nextjs14-wei-ecommerce.vercel.app

JavaScript 0.17% TypeScript 99.17% CSS 0.66%
kinde-auth nextjs nextjs14 prisma react tailwindcss typescript uploadthing zustand postgresql sql

nextjs14-wei-ecommerce's Introduction

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

git clone https://github.com/weiwei2694/nextjs14-wei-ecommerce.git
cd nextjs14-wei-ecommerce

Install packages

npm install
yarn install
pnpm install
bun install

Setup .env file

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-callback

ADMIN_EMAIL=your email

UPLOADTHING_SECRET=
UPLOADTHING_APP_ID=

STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=

NEXT_PUBLIC_SERVER_URL=http://localhost:3000

Setup Prisma

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

nextjs14-wei-ecommerce's People

Contributors

weiwei2694 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

blender20

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.