{"id":15891394,"url":"https://github.com/dbritto-dev/prisma-starter","last_synced_at":"2026-05-01T13:32:51.186Z","repository":{"id":69761842,"uuid":"131518085","full_name":"dbritto-dev/prisma-starter","owner":"dbritto-dev","description":"Prisma Starter Kit","archived":false,"fork":false,"pushed_at":"2018-12-09T17:55:52.000Z","size":131,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T17:28:58.363Z","etag":null,"topics":["basic","graphql","prisma","starter-kit"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dbritto-dev.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":"2018-04-29T18:14:05.000Z","updated_at":"2019-06-19T16:44:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4416aad-aa82-4488-b35e-c26592dddac4","html_url":"https://github.com/dbritto-dev/prisma-starter","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/dbritto-dev/prisma-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbritto-dev%2Fprisma-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbritto-dev%2Fprisma-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbritto-dev%2Fprisma-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbritto-dev%2Fprisma-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbritto-dev","download_url":"https://codeload.github.com/dbritto-dev/prisma-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbritto-dev%2Fprisma-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32499681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["basic","graphql","prisma","starter-kit"],"created_at":"2024-10-06T07:21:53.092Z","updated_at":"2026-05-01T13:32:51.167Z","avatar_url":"https://github.com/dbritto-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\u003cstrong\u003eBoilerplate for a Basic GraphQL Server\u003c/strong\u003e\u003c/h1\u003e\n\n\u003cbr /\u003e\n\n![](https://imgur.com/lIi4YrZ.png)\n\n\u003cdiv align=\"center\"\u003e\u003cstrong\u003e🚀 Bootstrap your GraphQL server within seconds\u003c/strong\u003e\u003c/div\u003e\n\u003cdiv align=\"center\"\u003eBasic starter kit for a flexible GraphQL server for Node.js - based on best practices from the GraphQL community.\u003c/div\u003e\n\n## Features\n\n- **Scalable GraphQL server:** The server uses [`graphql-yoga`](https://github.com/prisma/graphql-yoga) which is based on Apollo Server \u0026 Express\n- **GraphQL database:** Includes GraphQL database binding to [Prisma](https://www.prismagraphql.com) (running on MySQL)\n- **Tooling**: Out-of-the-box support for [GraphQL Playground](https://github.com/prisma/graphql-playground) \u0026 [query performance tracing](https://github.com/apollographql/apollo-tracing)\n- **Extensible**: Simple and flexible [data model](./database/datamodel.graphql) – easy to adjust and extend\n- **No configuration overhead**: Preconfigured [`graphql-config`](https://github.com/prisma/graphql-config) setup\n\nFor a fully-fledged **GraphQL \u0026 Node.js tutorial**, visit [How to GraphQL](https://www.howtographql.com/graphql-js/0-introduction/). You can more learn about the idea behind GraphQL boilerplates [here](https://blog.graph.cool/graphql-boilerplates-graphql-create-how-to-setup-a-graphql-project-6428be2f3a5).\n\n## Requirements\n\nYou need to have the [GraphQL CLI](https://github.com/graphql-cli/graphql-cli) installed to bootstrap your GraphQL server using `graphql init` and [Prisma](https://github.com/graphcool/prisma) to deploy and update database using `prisma deploy`:\n\n```sh\nnpm install -g graphql-cli prisma yarn\n```\n\n## Getting started\n\n```sh\n# 1. Clone the project\ngit clone https://github.com/danilobrinu/prisma-starter-kit.git\n\n# 2. Navigate to the new project\ncd prisma-starter-kit\n\n# 3. Install npm packages\nyarn install\n\n# 3. Start server (runs on http://localhost:4000) and open GraphQL Playground\nyarn dev\n```\n\n\u003e **Note:** Create new enviroment using example.env and update **`__PRISMA_ENDPOINT__`** if you don't have prisma endpoint run prisma deploy and use Demo Server to get prisma endpoint\n\n\u003e **Note**: We recommend not update graphql-yoga for now, have some [issues](https://github.com/graphcool/graphql-yoga/issues/297)\n leave the stable version graphql-yoga@1.12.1 for now.\n\n![](https://imgur.com/hElq68i.png)\n\n## Documentation\n\n### Commands\n\n* `yarn start` starts GraphQL server on `http://localhost:4000`\n* `yarn debug` starts GraphQL server in debug mode on `http://localhost:4000`\n* `yarn playground` opens the GraphQL Playground for the `projects` from [`.graphqlconfig.yml`](./.graphqlconfig.yml)\n* `yarn dev` starts GraphQL server on `http://localhost:4000` _and_ opens GraphQL Playground\n* `prisma \u003csubcommand\u003e` gives access to local version of Prisma CLI (e.g. `prisma deploy`)\n\n\u003e **Note**: We recommend that you're using `yarn dev` during development as it will give you access to the GraphQL API or your server (defined by the [application schema](./src/schema.graphql)) as well as to the Prisma API directly (defined by the [Prisma database schema](./generated/prisma.graphql)). If you're starting the server with `yarn start`, you'll only be able to access the API of the application schema.\n\n### Project structure\n\n![](https://imgur.com/95faUsa.png)\n\n| File name 　　　　　　　　　　　　　　| Description 　　　　　　　　\u003cbr\u003e\u003cbr\u003e| \n| :--  | :--         |\n| `├── .env` | Defines environment variables |\n| `├── .graphqlconfig.yml` | Configuration file based on [`graphql-config`](https://github.com/prisma/graphql-config) (e.g. used by GraphQL Playground).|\n| `└── database/ `  | _Contains all files that are related to the Prisma database service_ |\\\n| `　　├── prisma.yml` | The root configuration file for your Prisma database service ([docs](https://www.prismagraphql.com/docs/reference/prisma.yml/overview-and-example-foatho8aip)) |\n| `　　└── enums.graphql` | Defines your enums for data model (written in [GraphQL SDL](https://blog.graph.cool/graphql-sdl-schema-definition-language-6755bcb9ce51)) |\n| `　　└── seed.graphql` | Defines your seed data model (written in [GraphQL SDL](https://blog.graph.cool/graphql-sdl-schema-definition-language-6755bcb9ce51)) |\n| `　　└── types.graphql` | Defines your types for data model (written in [GraphQL SDL](https://blog.graph.cool/graphql-sdl-schema-definition-language-6755bcb9ce51)) |\n| `└── src/ ` | _Contains the source files for your GraphQL server_ |\n| `　　├── index.js` | The entry point for your GraphQL server |\n| `　　├── schema.graphql` | The **application schema** defining the API exposed to client applications  |\n| `　　├── resolvers/ ` | _Contains the implementation of the resolvers for the application schema_ |\n| `　　└── generated/ ` | _Contains generated files_ |\n| `　　　　└── prisma.grapghql` | The **Prisma database schema** defining the Prisma GraphQL API  |\n\n## Contributing\n\nThe GraphQL boilerplates are maintained by the GraphQL community, with official support from the [Apollo](https://dev-blog.apollodata.com) \u0026 [Graphcool](https://blog.graph.cool/) teams.\n\nYour feedback is **very helpful**, please share your opinion and thoughts! If you have any questions or want to contribute yourself, join the [`#graphql-boilerplate`](https://graphcool.slack.com/messages/graphql-boilerplate) channel on our [Slack](https://graphcool.slack.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbritto-dev%2Fprisma-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbritto-dev%2Fprisma-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbritto-dev%2Fprisma-starter/lists"}