hojberg/railway-test

โ˜… 0Forks 0TypeScriptGitHub โ†—Compare

README

title NextJS Prisma
description A NextJS app using Prisma with a PostgreSQL database
tags
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.

Contributors

FarazPatankarrailway-botnebulatgs

Issues