---
title: "CockroachDB + Prisma + Next.js Starter"
description: "A starter for full-stack serverless apps using CockroachDB, Prisma, and Next.js."
url: "https://vercel.com/templates/next.js/cockroachdb-prisma-nextjs-starter"
links:
  repository: "https://github.com/cockroachdb/prisma-examples/tree/latest/javascript/rest-nextjs"
  demo: "https://prisma-examples-1cpe4sdbc-cockroachlabs.vercel.app/drafts"
  deploy: "https://vercel.com/new/clone?demo-title=CockroachDB+%2B+Prisma+%2B+Next.js+Starter&demo-description=A+starter+for+full-stack+serverless+apps+using+CockroachDB%2C+Prisma%2C+and+Next.js.&demo-url=https%3A%2F%2Fprisma-examples-1cpe4sdbc-cockroachlabs.vercel.app%2Fdrafts&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F7Mq1rxNNQPv14KaOQAOWvZ%2Fcd2981c99290fe5e08226cd830e7c690%2FCleanShot_2022-09-20_at_10.24.55.png&project-name=CockroachDB+%2B+Prisma+%2B+Next.js+Starter&repository-name=cockroachdb-prisma-nextjs-starter&repository-url=https%3A%2F%2Fgithub.com%2Fcockroachdb%2Fprisma-examples%2Ftree%2Flatest%2Fjavascript%2Frest-nextjs&from=templates&integration-ids=oac_h3yNIuHlhe4j9QVzVJ3TS2W0&build-command=yarn+prisma+db+push+%26%26+yarn+next+build"
---

# CockroachDB + Prisma + Next.js Starter

A starter for full-stack serverless apps using CockroachDB, Prisma, and Next.js.

# Fullstack Example with Next.js (REST API)

This example shows how to implement a **fullstack app with [CockroachDB](https://www.cockroachlabs.com/lp/serverless-22/), [Next.js](https://nextjs.org/)** using [React](https://reactjs.org/) (frontend), [Express](https://expressjs.com/) and [Prisma Client](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client) (backend).

## Install on Vercel with Cockroach DB in 1-click
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fcockroachdb%2Fprisma-examples%2Ftree%2Flatest%2Fjavascript%2Frest-nextjs&integration-ids=oac_h3yNIuHlhe4j9QVzVJ3TS2W0&build-command=yarn%20prisma%20db%20push%20%26%26%20yarn%20next%20build)

## Related Templates

### [Next.js Portfolio with Blog](https://vercel.com/templates/next.js/nextjs-portfolio)

Easily create a portfolio with Next.js and Markdown.

### [Fullstack Blog with Next.js + Prisma](https://vercel.com/templates/next.js/fullstack-prisma-nextjs-blog)

Fullstack Blog with Next.js, Typescript and Prisma

---

## Additional documentation

The [Vercel Knowledge Base](https://vercel.com/kb) contains guides and answers to common questions about Vercel, including deployment, framework configuration, domains, caching, and troubleshooting.
