Production-ready Full-Stack Example (Next.js + Node.js API + Prisma) #13691
aakash-gupta02
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Goals
Non-goals
Background
The current examples are excellent for learning individual integrations such as Prisma, Docker, NestJS, and Next.js + Elysia. However, many developers evaluating Turborepo are building applications with a frontend, backend, shared packages, and a database.
A production-oriented example demonstrating a common full-stack architecture could reduce the amount of initial setup required for new users while showcasing Turborepo's strengths around shared packages and task orchestration.
For example:
along with:
pnpm workspaces
Turborepo caching
Prisma + PostgreSQL
Docker Compose for local development
Shared package imports
This architecture is common across many production applications but isn't currently represented by a single example.
Proposal
A new example repository demonstrating a complete full-stack application.
The implementation could include:
Next.js frontend
Node.js API (Express, Fastify, or another lightweight framework)
Prisma with PostgreSQL
Shared packages for types, validation, configuration, and utilities
Docker Compose for local development
Documentation explaining package boundaries and dependency sharing
I'd be happy to implement this and open a PR if the maintainers think it would be a good fit for the official examples.
All reactions