{"id":21801041,"url":"https://github.com/wpcodevo/nextjs13-prisma-setup","last_synced_at":"2025-06-16T22:06:48.491Z","repository":{"id":158164017,"uuid":"633861917","full_name":"wpcodevo/nextjs13-prisma-setup","owner":"wpcodevo","description":"In this article, you will learn how to set up and use Prisma ORM in the new Next.js 13 app directory. We'll cover everything from initializing Prisma to seeding the database with test data and applying migrations.","archived":false,"fork":false,"pushed_at":"2023-04-29T07:49:08.000Z","size":59,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T18:33:17.827Z","etag":null,"topics":["crud","crud-api","nextjs","nextjs13","prisma","prisma-orm"],"latest_commit_sha":null,"homepage":"https://codevoweb.com/how-to-setup-prisma-orm-in-nextjs-13-app-directory/","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/wpcodevo.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-04-28T13:01:50.000Z","updated_at":"2024-09-10T11:47:41.000Z","dependencies_parsed_at":"2023-07-12T22:30:20.679Z","dependency_job_id":null,"html_url":"https://github.com/wpcodevo/nextjs13-prisma-setup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wpcodevo/nextjs13-prisma-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fnextjs13-prisma-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fnextjs13-prisma-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fnextjs13-prisma-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fnextjs13-prisma-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpcodevo","download_url":"https://codeload.github.com/wpcodevo/nextjs13-prisma-setup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fnextjs13-prisma-setup/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260249965,"owners_count":22980765,"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":["crud","crud-api","nextjs","nextjs13","prisma","prisma-orm"],"created_at":"2024-11-27T11:15:54.639Z","updated_at":"2025-06-16T22:06:48.482Z","avatar_url":"https://github.com/wpcodevo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to Setup Prisma ORM in Next.js 13 App Directory\n\nIn this article, you will learn how to set up and use Prisma ORM in the new Next.js 13 app directory. We'll cover everything from initializing Prisma to seeding the database with test data and applying migrations.\n\n![How to Setup Prisma ORM in Next.js 13 App Directory](https://codevoweb.com/wp-content/uploads/2023/04/How-to-Setup-and-Use-Prisma-ORM-in-Next.js-13-App-Directory.webp)\n\n## Topics Covered\n\n- Setup the Next.js 13 Project\n- Setup Prisma ORM\n- Seeed the Database\n- Instantiate the Prisma Client\n- How to Use Prisma in React Server Component\n- How to Use Prisma in Next.js 13 Route Handlers\n    - Handle POST and GET Requests\n    - Handle GET, PATCH, and DELETE Requests\n- Make Requests in a Client-Side Component\n- Add the Component to the Main Page\n- Conclusion\n\nRead the entire article here: [https://codevoweb.com/how-to-setup-prisma-orm-in-nextjs-13-app-directory/](https://codevoweb.com/how-to-setup-prisma-orm-in-nextjs-13-app-directory/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Fnextjs13-prisma-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpcodevo%2Fnextjs13-prisma-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Fnextjs13-prisma-setup/lists"}