{"id":21557682,"url":"https://github.com/danielrohers/nextjs-prisma-railway","last_synced_at":"2025-06-10T18:34:12.921Z","repository":{"id":233140050,"uuid":"670620375","full_name":"danielrohers/nextjs-prisma-railway","owner":"danielrohers","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-25T13:07:47.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-24T10:47:06.010Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielrohers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-07-25T13:07:46.000Z","updated_at":"2023-07-25T13:20:15.000Z","dependencies_parsed_at":"2024-04-14T04:41:22.796Z","dependency_job_id":"2a80f25b-ce3e-4625-b8b8-434b762549f3","html_url":"https://github.com/danielrohers/nextjs-prisma-railway","commit_stats":null,"previous_names":["danielrohers/nextjs-prisma-railway"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielrohers%2Fnextjs-prisma-railway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielrohers%2Fnextjs-prisma-railway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielrohers%2Fnextjs-prisma-railway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielrohers%2Fnextjs-prisma-railway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielrohers","download_url":"https://codeload.github.com/danielrohers/nextjs-prisma-railway/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244148951,"owners_count":20406270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T08:12:51.921Z","updated_at":"2025-03-18T03:26:47.759Z","avatar_url":"https://github.com/danielrohers.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\ntitle: NextJS Prisma\ndescription: A NextJS app using Prisma with a PostgreSQL database\ntags:\n  - next\n  - prisma\n  - postgresql\n  - typescript\n---\n\n# NextJS Prisma Example\n\nThis example is a [NextJS](https://nextjs.org/) todo app that uses\n[Prisma](https://www.prisma.io/) to store todos in Postgres.\n\n[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/HRZqTF)\n\n## ✨ Features\n\n- Prisma\n- NextJS\n- Postgres\n- TypeScript\n\n## 💁‍♀️ How to use\n\n- [Provision a Postgres container on Railway](https://dev.new)\n- Connect to your Railway project with `railway link`\n- Migrate the database `railway run yarn migrate:dev`\n- Run the NextJS app `railway run yarn dev`\n\n## 📝 Notes\n\nThis app is a simple todo list where the data is persisted to Postgres. [Prisma\nmigrations](https://www.prisma.io/docs/concepts/components/prisma-migrate#prisma-migrate)\ncan be created with `railway run yarn migrate:dev` and deployed with `railway run yarn migrate:deploy`. The Prisma client can be regenerated with\n`yarn generate`.\n\n[swr](https://swr.vercel.app/) is used to fetch data on the client and perform optimistic updates.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielrohers%2Fnextjs-prisma-railway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielrohers%2Fnextjs-prisma-railway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielrohers%2Fnextjs-prisma-railway/lists"}