Files
archived-starters/examples/nextjs-prisma
2021-09-24 09:28:08 -04:00
..
2021-02-01 23:52:53 +00:00
2021-02-01 23:52:53 +00:00
2021-02-01 19:26:33 -07:00
2021-02-02 05:27:24 +00:00
2021-02-01 23:52:53 +00:00
2021-09-03 12:40:41 -05:00
2021-02-01 23:52:53 +00:00
2021-02-01 23:52:53 +00:00

title, description, tags
title description tags
NextJS Prisma A NextJS app using Prisma with a PostgreSQL database
next
prisma
postgresql
typescript

NextJS Prisma Example

This example is a NextJS todo app that uses Prisma to store todos in Postgres.

Deploy on Railway

Features

  • Prisma
  • NextJS
  • Postgres
  • TypeScript

💁‍♀️ How to use

📝 Notes

This app is a simple todo list where the data is persisted to Postgres. Prisma migrations can be created with railway run yarn migrate:dev and deployed with railway run yarn migrate:deploy. The Prisma client can be regenerated with yarn generate.

swr is used to fetch data on the client and perform optimistic updates.