{"id":22514705,"url":"https://github.com/jdizm/next-prisma","last_synced_at":"2026-04-11T03:03:53.354Z","repository":{"id":177401626,"uuid":"517200457","full_name":"JDIZM/next-prisma","owner":"JDIZM","description":"a demo next js application with prisma orm for database schema migrations and seeds; example boilerplate and setup","archived":false,"fork":false,"pushed_at":"2023-07-05T20:02:09.000Z","size":206,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T01:51:01.113Z","etag":null,"topics":["api","boilerplate","docker","fullstack","next","next12","node","postgresql","prisma","react","sql","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"","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/JDIZM.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}},"created_at":"2022-07-24T01:29:43.000Z","updated_at":"2024-08-19T21:50:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"e8048800-78d3-48ca-b7a6-356f4a49233b","html_url":"https://github.com/JDIZM/next-prisma","commit_stats":null,"previous_names":["jdizm/next-prisma"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JDIZM/next-prisma","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JDIZM%2Fnext-prisma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JDIZM%2Fnext-prisma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JDIZM%2Fnext-prisma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JDIZM%2Fnext-prisma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JDIZM","download_url":"https://codeload.github.com/JDIZM/next-prisma/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JDIZM%2Fnext-prisma/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31667034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","boilerplate","docker","fullstack","next","next12","node","postgresql","prisma","react","sql","tailwindcss","typescript"],"created_at":"2024-12-07T03:20:32.089Z","updated_at":"2026-04-11T03:03:53.329Z","avatar_url":"https://github.com/JDIZM.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is an example project to demonstrate how to use Next.js with Prisma, Postgres and Docker.\n\n- [Next.js](https://nextjs.org/)\n- TypeScript\n- [Prisma](https://www.prisma.io/)\n- Postgres\n- Docker\n\n## Installation\n\nThis project requires node.js to be installed. This project uses volta to manage node versions.\n\nTo install volta run the following command in the terminal.\n\n```\ncurl https://get.volta.sh | bash\n```\n\n## Getting Started\n\nCopy the default env vars\n\n```bash\ncp .env.example .env\n```\n\nYou will need docker installed to setup a database then run\n\n```bash\ndocker compose up -d\n```\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nYou can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.\n\n[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.\n\nThe `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.\n\n## Prisma\n\n### Migrations\n\nrun `npm run prisma:status` to check the status of the current migrations.\n\nThen `npm run prisma:migrate` to run the migrations.\n\n### Seeding the database\n\nSeed the database with `npm run prisma:seed`.\n\nThe migrations will only create the required tables and schema. The seed script will populate the database with data.\n\n## Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdizm%2Fnext-prisma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdizm%2Fnext-prisma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdizm%2Fnext-prisma/lists"}