{"id":15450779,"url":"https://github.com/2color/next-prisma-incremental","last_synced_at":"2025-04-28T13:13:16.028Z","repository":{"id":56145399,"uuid":"315621508","full_name":"2color/next-prisma-incremental","owner":"2color","description":"A demo showing how to leverage next.js incremental generation","archived":false,"fork":false,"pushed_at":"2023-12-15T20:26:11.000Z","size":343,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-28T13:13:01.324Z","etag":null,"topics":["jamstack","next","prisma"],"latest_commit_sha":null,"homepage":"https://next-prisma-incremental.vercel.app/","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/2color.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}},"created_at":"2020-11-24T12:12:47.000Z","updated_at":"2023-05-12T17:01:29.000Z","dependencies_parsed_at":"2022-08-15T13:31:21.836Z","dependency_job_id":null,"html_url":"https://github.com/2color/next-prisma-incremental","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2color%2Fnext-prisma-incremental","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2color%2Fnext-prisma-incremental/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2color%2Fnext-prisma-incremental/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2color%2Fnext-prisma-incremental/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2color","download_url":"https://codeload.github.com/2color/next-prisma-incremental/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251319593,"owners_count":21570428,"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":["jamstack","next","prisma"],"created_at":"2024-10-01T21:19:26.276Z","updated_at":"2025-04-28T13:13:15.425Z","avatar_url":"https://github.com/2color.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jamstack with Prisma and Next.js - Incremental Static-Regeneration\n\nThis is an example blog app showing how to work with Prisma in Next.js.\n\nThe blog compares the two rendering approaches that Next.js supports – **static generation with incremental static re-generation** and **server-side rendering** for post pages.\n\n## Installation\n\nClone the repo and install the dependencies:\n\n```bash\n# with npm\nnpm i\n```\n## Start the database\n\n```bash\ndocker-compose up -d\n```\n\n## Set DATABASE_URL\n\nCreate `prisma/.env`\n\n```bash\ntouch prisma/.env\n```\n\nAnd add the following to the file\n\n```\nDATABASE_URL=\"postgresql://test-user:test-password@localhost:5432/my-blog?schema=public\"\n```\n\n## Create the database\n\n```bash\nnpx prisma db push --preview-feature\n```\n\n## Run the App\n\n```bash\n# with npm\nnpm run dev\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2color%2Fnext-prisma-incremental","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2color%2Fnext-prisma-incremental","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2color%2Fnext-prisma-incremental/lists"}