// the find
olafsulich/fullstack-nextjs-ecommerce
Fullstack Next.js E-Commerce made with NextAuth + Prisma, Docker + TypeScript + React Query + Stripe + Tailwind Sentry and much more 🛒
A Next.js e-commerce starter from late 2021 combining Prisma, NextAuth, Stripe, and React Query. It's a reference implementation showing how these tools fit together, not a production-ready platform. Useful if you need a starting point and don't mind significant archaeology.
The tech choices are sensible for the era — Prisma for type-safe DB access, React Query for server state, Stripe for payments, all wired up together in one place. Cart state uses a proper context + reducer pattern rather than a random useState soup. Sentry is integrated from the start, not bolted on later. Docker Compose for local Postgres removes the 'install and configure a database' friction for new contributors.
Last commit was December 2021 — that's Next.js 12 territory, before the App Router, before Server Actions, before NextAuth v4 even stabilized. Adopting this today means immediately rewriting most of the routing and auth layer. The README is screenshots and a dependency list with no architecture explanation. Cart state lives in React context with no persistence — close the tab and your cart is gone. No tests of any kind, so refactoring the outdated patterns is flying blind.