mirror of
https://github.com/SrIzan10/starters.git
synced 2026-05-01 11:05:16 +00:00
Bumps [simple-get](https://github.com/feross/simple-get) from 3.1.0 to 3.1.1. - [Release notes](https://github.com/feross/simple-get/releases) - [Commits](https://github.com/feross/simple-get/compare/v3.1.0...v3.1.1) --- updated-dependencies: - dependency-name: simple-get dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
title, description, tags
| title | description | tags | ||||
|---|---|---|---|---|---|---|
| NextJS Prisma | A NextJS app using Prisma with a PostgreSQL database |
|
NextJS Prisma Example
This example is a NextJS todo app that uses Prisma to store todos in Postgres.
✨ Features
- Prisma
- NextJS
- Postgres
- TypeScript
💁♀️ How to use
- Provision a Postgres container on Railway
- Connect to your Railway project with
railway link - Migrate the database
railway run yarn migrate:dev - Run the NextJS app
railway run yarn dev
📝 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.