A simple ecommerce website, using the API from fakestoreapi
- Mutation | add to cart & checkout
- Auth | using kinde.com
- Payment Gateway | using stripe
- Styling | shadcnui
git clone https://github.com/weiwei2694/nextjs14-stripe-payment-gateway.git
cd nextjs14-stripe-payment-gateway
npm install
yarn install
pnpm install
bun install
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
STRIPE_SECRET_KEY=
NEXT_PUBLIC_SERVER_URL=http://localhost:3000