Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
E-commerce site with login authentication using auth0, JWT's, MongoDB, and stripe.js with admin pages to add products, change stocks, and view orders.

Next.js ecommerce starter built as a web programming final exam, using MongoDB, Prisma, Tailwind CSS, and JWT auth.
E-Commerce Website is a full-stack Next.js e-commerce template that combines Auth0 login, a MongoDB GraphQL backend, and Stripe.js payments with admin pages for managing products and orders.
E-Commerce Website is a Next.js-based storefront and admin panel that uses Auth0 for customer login, MongoDB with GraphQL for data, and Stripe.js for checkout. It takes product listings, user authentication, and order data as input and produces a customer shopping experience plus an admin interface for adding products, changing stock, and viewing orders. A live demo is hosted at https://e-commerce-website-j8wvkus9z-pudderz.vercel.app/. The repository is public on GitHub.
The project separates a Next.js frontend from a MongoDB-backed GraphQL API. Users log in with Auth0 to obtain JWT access tokens, which are sent with GraphQL mutations and queries. The storefront calls Stripe.js for payment processing, while admin routes use the same API to create products, change stock, and list orders.
It uses Next.js on the frontend, a GraphQL API backed by MongoDB, Auth0 for authentication, JWT access tokens for authorization, and Stripe.js for payments. Google Analytics is also integrated to power a most-popular product section.
Yes, a demo is available at https://e-commerce-website-j8wvkus9z-pudderz.vercel.app/. The demo shows the storefront and admin functionality in action.
Admin pages let you add products, change stock levels, and view orders. The project's to-do list notes that dark mode, more detailed order information, file upload sanitization, and admin route styling are not yet implemented.
