{"id":26584031,"url":"https://github.com/krisdigital/next-prisma-playwright-kube","last_synced_at":"2026-04-11T10:32:41.021Z","repository":{"id":282452354,"uuid":"948639609","full_name":"krisdigital/next-prisma-playwright-kube","owner":"krisdigital","description":"Setup for full stack next.js","archived":false,"fork":false,"pushed_at":"2025-03-21T18:22:48.000Z","size":182,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T14:31:57.250Z","etag":null,"topics":["helm","kubernetes","nextjs","playwright","prisma-orm","vitest"],"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/krisdigital.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":"2025-03-14T17:31:21.000Z","updated_at":"2025-03-21T18:22:52.000Z","dependencies_parsed_at":"2025-03-14T18:44:01.878Z","dependency_job_id":"31160539-db7c-4d04-a3d8-967c73df44b8","html_url":"https://github.com/krisdigital/next-prisma-playwright-kube","commit_stats":null,"previous_names":["krisdigital/next-prisma-playwright-kube"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/krisdigital/next-prisma-playwright-kube","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisdigital%2Fnext-prisma-playwright-kube","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisdigital%2Fnext-prisma-playwright-kube/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisdigital%2Fnext-prisma-playwright-kube/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisdigital%2Fnext-prisma-playwright-kube/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krisdigital","download_url":"https://codeload.github.com/krisdigital/next-prisma-playwright-kube/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisdigital%2Fnext-prisma-playwright-kube/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31677813,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["helm","kubernetes","nextjs","playwright","prisma-orm","vitest"],"created_at":"2025-03-23T09:17:47.002Z","updated_at":"2026-04-11T10:32:40.989Z","avatar_url":"https://github.com/krisdigital.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minimal next.js project setup using React Server Components, Prisma, PostgreSql, Playwright, Vitest, Helm, k8s and Github Actions\n\nWanted to checkout how to syetup next.js with all bells and whistles - maybe it is useful for someone...\n\n## Local dev\n\nRun `docker compose up` to start PostgreSql.\n\nPut something like\n\n`DATABASE_URL=\"postgresql://postgres:password@127.0.0.1:5432/postgres?schema=public\"`\n\nin your `.env` and create `.env.test` next to it with\n\n`DATABASE_URL=\"postgresql://postgres:password@127.0.0.1:5432/postgres_test?schema=public\"`\n\nto use a different db during testing.\n\nYou should then be able to setup the database schema:\n\n`npx prisma db push`\n\nThen you can start the app:\n\n`npm run dev`\n\n## Running tests\n\nTo run the example Playwright tests run\n\n`npm run e2e`\n\nIt starts the app on port 3001 and resets the test db before running the tests.\n\nTo run the integration tests with vitest use\n\n`npm run test`\n\nThis will also reset the database and run the tests.\n\n## K8s\n\nStart minikube\n\n`minikube start`\n\nTo build the container and use it locally using minikube you need to run\n\n`eval $(minikube docker-env)`\n\nin your shell before building:\n\n`docker build -t frontend:1.09 ./`\n\nThen you should be able to install the helm chart\n\n`helm install helmkube ./helm`\n\nThis will run an init container to migrate the prisma schema before starting the new app container.\n\nTo access the app you need to create a minikube tunnel\n\n`minikube tunnel`\n\nYou can check the status on the dashboard\n\n`minikube dashboard`\n\nIf you do changes in the database schema or the app, rebuild the frontend container with a new version, increase the `appVersion` in `Chart.yaml` and run\n\n`helm upgrade helmkube ./helm`\n\n## CI\n\nThe playwright and integration tests also run on the Github CI, check the `.github/workflows` folder!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisdigital%2Fnext-prisma-playwright-kube","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrisdigital%2Fnext-prisma-playwright-kube","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisdigital%2Fnext-prisma-playwright-kube/lists"}