<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/next-js-with-prisma-and-sqlite-b5iufuroj" -->

---
title: Next.js with Prisma and SQLite | daily.dev
description: Learn how to set up a Next.js application with Prisma and SQLite, including initializing Prisma, creating migrations, using the Prisma Client instance to read...
canonical: https://daily.dev/posts/next-js-with-prisma-and-sqlite-b5iufuroj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Next.js with Prisma and SQLite | daily.dev
og:description: Learn how to set up a Next.js application with Prisma and SQLite, including initializing Prisma, creating migrations, using the Prisma Client instance to read...
og:url: https://daily.dev/posts/next-js-with-prisma-and-sqlite-b5iufuroj
og:image: https://api.daily.dev/og/posts/b5IuFuroj.png
og:image:alt: Next.js with Prisma and SQLite
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Next.js with Prisma and SQLite

**[Robin Wieruch](https://daily.dev/sources/robinwieruch)** · [@rwieruch](https://daily.dev/rwieruch) · 3 min read · 23 upvotes · 2 comments

## Summary

Learn how to set up a Next.js application with Prisma and SQLite, including initializing Prisma, creating migrations, using the Prisma Client instance to read from the database, and more.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.robinwieruch.de/next-prisma-sqlite/>

## Community discussion

Top comments from developers on daily.dev.

**@dilhanziriwardhana** · 0 upvotes

> what is prisma?

**@orcdev** · 0 upvotes

> This is one of the easiest ways to build a fullstack app these days.

---

Tags: [#nextjs](https://daily.dev/tags/nextjs), [#prisma](https://daily.dev/tags/prisma), [#sqlite](https://daily.dev/tags/sqlite), [#webdev](https://daily.dev/tags/webdev)

[View this post on daily.dev](https://daily.dev/posts/next-js-with-prisma-and-sqlite-b5iufuroj)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Next.js with Prisma and SQLite","url":"https://daily.dev/posts/next-js-with-prisma-and-sqlite-b5iufuroj","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/next-js-with-prisma-and-sqlite-b5iufuroj"},"datePublished":"2024-03-21T09:42:22.401Z","dateModified":"2024-08-30T02:17:10.091Z","description":"Learn how to set up a Next.js application with Prisma and SQLite, including initializing Prisma, creating migrations, using the Prisma Client instance to read...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/52bb01d88009b3f4ed4bf2a48788cc90?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/52bb01d88009b3f4ed4bf2a48788cc90?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Robin Wieruch","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Robin Wieruch","url":"https://daily.dev/rwieruch","image":"https://avatars.githubusercontent.com/u/2479967?v=4","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":1500}},"commentCount":2,"discussionUrl":"https://daily.dev/posts/next-js-with-prisma-and-sqlite-b5iufuroj","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":23},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"keywords":"nextjs,prisma,sqlite,webdev","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Robin Wieruch","item":"https://daily.dev/sources/robinwieruch"},{"@type":"ListItem","position":3,"name":"Next.js with Prisma and SQLite"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/next-js-with-prisma-and-sqlite-b5iufuroj","comment":[{"@type":"Comment","text":"what is prisma?","datePublished":"2024-03-22T08:33:45.872Z","url":"https://daily.dev/posts/b5IuFuroj#c-AiP7WqOf3","author":{"@type":"Person","name":"Dilhan Ziriwardhana","url":"https://daily.dev/dilhanziriwardhana","image":"https://media.daily.dev/image/upload/s--kOYZr_C8--/f_auto/v1715874042/avatars/avatar_4EX1iI2mbZY2AZutl3BOD"}},{"@type":"Comment","text":"This is one of the easiest ways to build a fullstack app these days.","datePublished":"2024-03-22T08:12:55.761Z","url":"https://daily.dev/posts/b5IuFuroj#c-h4UetFLh7","author":{"@type":"Person","name":"OrcDev","url":"https://daily.dev/orcdev","image":"https://avatars.githubusercontent.com/u/7549148?v=4"}}]}
```

