{"id":22369218,"url":"https://github.com/jcserv/prisma-graphql-api-template","last_synced_at":"2025-10-10T03:06:24.833Z","repository":{"id":264085522,"uuid":"890920226","full_name":"jcserv/prisma-graphql-api-template","owner":"jcserv","description":"This template can be used to quickly setup a GraphQL API, using Prisma/Typescript/Apollo/Pothos/Relay","archived":false,"fork":false,"pushed_at":"2025-08-29T19:12:09.000Z","size":560,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-29T21:44:51.496Z","etag":null,"topics":["apollo","codegen","graphql","node","postgres","pothos","prisma","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcserv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-11-19T12:15:34.000Z","updated_at":"2025-08-29T19:12:13.000Z","dependencies_parsed_at":"2025-03-26T16:21:01.325Z","dependency_job_id":"44fc4905-976b-462c-97c7-e7b2aaa0931f","html_url":"https://github.com/jcserv/prisma-graphql-api-template","commit_stats":null,"previous_names":["jcserv/prisma-graphql-api-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/jcserv/prisma-graphql-api-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcserv%2Fprisma-graphql-api-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcserv%2Fprisma-graphql-api-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcserv%2Fprisma-graphql-api-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcserv%2Fprisma-graphql-api-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcserv","download_url":"https://codeload.github.com/jcserv/prisma-graphql-api-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcserv%2Fprisma-graphql-api-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002552,"owners_count":26083417,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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":["apollo","codegen","graphql","node","postgres","pothos","prisma","typescript"],"created_at":"2024-12-04T19:18:24.714Z","updated_at":"2025-10-10T03:06:24.828Z","avatar_url":"https://github.com/jcserv.png","language":"TypeScript","readme":"# prisma-graphql-api-template\n\nthis template can be used to quickly setup a prisma + graphql + typescipt project,\nwith all the required configuration out of the box.\n\n## features\n\n- 💠 prisma orm, apollo server, pothos, relay\n- 🌀 end-to-end type safety via code generation (prisma -\u003e pothos)\n- 📑 automagical pagination support via relay\n- 📦 automatic query optimization to solve n+1 problem (provided via [prisma](https://pothos-graphql.dev/docs/plugins/prisma/connections))\n- 🧪 unit/e2e tests setup\n- 🚀 dev workflow tools galore (vscode, husky, eslint, prettier, etc)\n- ✅ continuous integration with github workflows\n\n## installation\n\n### prerequisites\n\n- [node.js](https://nodejs.org/en)\n- [pnpm](https://pnpm.io/installation)\n- [docker](https://docs.docker.com/get-started/get-docker/)\n\n### using this template\n\n1. create a Github repository, using this template\n2. replace all instances of \"prisma-graphql-api-template\" with \"\u003cYOUR_REPO_NAME\u003e\"\n3. initialize your .env file (see .env.example)\n4. go to your github repo settings and add the following secrets:\n   - DATABASE_URL\n   - POSTGRES_USER\n   - POSTGRES_PASSWORD\n   - POSTGRES_DB\n\n### running locally\n\n1. clone this repo\n2. run `pnpm i`\n3. run `pnpm dev:db`\n4. run `pnpm dev`\n5. visit http://localhost:4000/graphql in your browser\n\n### running tests\n\n1. run `pnpm test:db:down`\n2. run `pnpm test:db`\n3. run `pnpm test`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcserv%2Fprisma-graphql-api-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcserv%2Fprisma-graphql-api-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcserv%2Fprisma-graphql-api-template/lists"}