Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Full stack boilerplate with Next.js, Prisma, Tailwind, TypeScript, Docker, Postgres, Jest and Cypress tests, GitHub Actions CI/CD, and Traefik deployment.

Free Bootstrap 4 design system with over 100 components, pre-built pages, and a full UI kit for faster web projects.
Next.js Prisma Boilerplate is a full-stack starter project for building small-to-medium web apps on a single Linux box, built around Next.js 12, Prisma 4, Postgres, TypeScript, Tailwind CSS, and Docker. It pairs a live demo with production deployment to a VPS via Traefik and includes complete frontend and backend test suites.
This boilerplate is a production-ready starting point that combines a Next.js 12 app (React 18.2.0) with a Prisma/Postgres backend, authentication via next-auth, and a decoupled controller-service API layer. It takes environment variables for database connection and OAuth credentials as input and outputs a running web app with CRUD features, responsive theming, and full test coverage. It is maintained by developer Nemanja Mitić (nemanjam) and uses the MIT license.
.env* file handling.!important statements anywhere.Clone the repository, install dependencies with Yarn, set environment variables in .env.development and .env.development.local, then run Postgres in Docker and apply Prisma migrations. After seeding the database, yarn dev starts the app at http://localhost:3001, and tests run via yarn test:client, yarn test:server:unit, yarn test:server:integration, or Cypress with yarn test:e2e:env.
PORT is set to 3001 and referenced in multiple Dockerfiles and compose files, so changing it requires editing all of those places.The project is free and open source under the MIT license.
Yes, the boilerplate is released under the MIT license, so you can use, modify, and distribute it for personal or commercial projects without license fees.
Yes. next-auth is configured with Credentials (email/password), Google, and Facebook providers. Facebook login requires HTTPS locally, which you can set up with mkcert.
Partially. The project uses a custom HTTP server and a single Docker container for production, so going serverless requires removing the custom server, choosing a different Multer storage type for uploads, and not using the single-container Docker setup.
Yes, a production demo is available at https://nextjs-prisma-boilerplate.arm1.nemanjamitic.com, and a Gitpod workspace snapshot lets you try the development environment in the browser.
The README claims you can install the boilerplate in about 15 minutes: clone, install dependencies, set environment variables, run the database via Docker, migrate, seed, and start with yarn dev.