{"id":15774957,"url":"https://github.com/katt/whycantihaveidinmyname","last_synced_at":"2025-07-08T20:13:42.575Z","repository":{"id":140088223,"uuid":"118930143","full_name":"KATT/whycantihaveidinmyname","owner":"KATT","description":"WHY","archived":false,"fork":false,"pushed_at":"2018-01-29T10:25:37.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-08T20:13:41.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/graphcool/prisma/issues/1733","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/KATT.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-01-25T15:24:24.000Z","updated_at":"2018-01-25T15:49:29.000Z","dependencies_parsed_at":"2024-04-18T08:04:04.029Z","dependency_job_id":null,"html_url":"https://github.com/KATT/whycantihaveidinmyname","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KATT/whycantihaveidinmyname","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KATT%2Fwhycantihaveidinmyname","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KATT%2Fwhycantihaveidinmyname/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KATT%2Fwhycantihaveidinmyname/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KATT%2Fwhycantihaveidinmyname/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KATT","download_url":"https://codeload.github.com/KATT/whycantihaveidinmyname/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KATT%2Fwhycantihaveidinmyname/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264341130,"owners_count":23593298,"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":[],"created_at":"2024-10-04T16:41:40.570Z","updated_at":"2025-07-08T20:13:42.559Z","avatar_url":"https://github.com/KATT.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# typescript-advanced\n\n🚀 Advanced starter code for a scalable, production-ready GraphQL server written in TypeScript, including authentication and realtime functionality with GraphQL subscriptions.\n\n## Features\n\n- **Scalable GraphQL Server:** `graphql-yoga` based on Apollo Server \u0026 Express\n- **GraphQL-native database:** Includes GraphQL database binding to Prisma (running on MySQL)\n- Out-of-the-box support for [GraphQL Playground](https://github.com/prisma/graphql-playground) \u0026 [Tracing](https://github.com/apollographql/apollo-tracing)\n- Simple data model – easy to adjust\n- Preconfigured [`graphql-config`](https://github.com/prisma/graphql-config) setup\n- Authentication based on email \u0026 password\n- Realtime functionality with GraphQL subscriptions (_coming soon_)\n\n## Requirements\n\nYou need to have the following tools installed:\n\n* Node 8+ \u0026 TypeScript\n* GraphQL CLI: `npm i -g graphql-cli`\n\n## Getting started\n\n```sh\n# 1. Bootstrap GraphQL server in directory `my-app`, based on `typescript-advanced` boilerplate\ngraphql create my-app --boilerplate typescript-advanced\n\n# 2. When prompted, choose the Prisma cluster you want to deploy to\n# e.g. prisma-eu1 or prisma-us1 to deploy to a public cluster (recommended)\n# or locally (requires Docker)\n\n# 3. Navigate to the new project\ncd my-app\n\n# 4. Start server (runs on http://localhost:4000) and open GraphQL Playground\nyarn dev\n# or\n# yarn start # (only starts the server, no access to the Prisma API)\n```\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**) as well as to the Prisma API directly (defined by the **Prisma schema**). If you're starting the server with `yarn start`, you'll only be able to access the API for the application schema.\n\n## Docs\n\n### Commands\n\n* `yarn start` starts GraphQL server on `http://localhost:4000` (only allows access to the _appl)\n* `yarn debug` starts GraphQL server in debug mode (open [chrome://inspect/#devices](chrome://inspect/#devices) to debug)\n* `yarn dev` starts GraphQL server opens the GraphQL Playground for the `projects` defined in [`.graphqlconfig.yml`](./.graphqlconfig.yml)\n* `yarn playground` opens the GraphQL Playground for the `projects` defined in [`.graphqlconfig.yml`](./.graphqlconfig.yml)\n* `yarn prisma \u003csubcommand\u003e` access to local version of Prisma CLI (e.g. `yarn prisma deploy`)\n\n### Project structure\n\n#### `/` - configuration files\n\n- [`.env`](./.env) Contains important environment variables for development. Read about how it works [here](https://github.com/motdotla/dotenv).\n- [`.graphqlconfig.yml`](./.graphqlconfig.yml) GraphQL configuration file containing the endpoints and schema configuration. Used by the [`graphql-cli`](https://github.com/prisma/graphql-cli) and the [GraphQL Playground](https://github.com/prisma/graphql-playground). See [`graphql-config`](https://github.com/prisma/graphql-config) for more information.\n\n#### `/database` - Prisma service\n\n- [`database/prisma.yml`](./database/prisma.yml) The configuration file for your database service ([documentation](https://www.prismagraphql.com/docs/reference/prisma.yml/overview-and-example-foatho8aip)).\n- [`database/datamodel.graphql`](./database/datamodel.graphql) contains the data model that you define for your database service (written in [SDL](https://blog.graph.cool/graphql-sdl-schema-definition-language-6755bcb9ce51)).\n\n#### `/src` - application server\n\n- [`src/schema.graphql`](src/schema.graphql) defines your **application schema**. It contains the GraphQL API that you want to expose to your client applications.\n- [`src/index.js`](src/index.js) is the entry point of your server, putting everything together and starting the `GraphQLServer` from [`graphql-yoga`](https://github.com/prisma/graphql-yoga).\n- [`src/resolvers/`](src/resolvers) contains the actual business logic of your application. In GraphQL, you implement [resolver functions](http://graphql.org/learn/execution/) that *resolve* a specific query being requested.\n- [`src/generated/prisma.graphql`](src/generated/prisma.graphql) defines the **database schema**. It contains the GraphQL API exposed by the Prisma Database. This file is automatically generated every time `yarn prisma deploy` is executed, according to the datamodel in `database/datamodel.graphql`.\n- [`src/generated/prisma.ts`](src/generated/prisma.ts) contains the generated TypeScript type definitions from the `prisma-binding`. You can read more about static bindings in this [article](https://blog.graph.cool/reusing-composing-graphql-apis-with-graphql-bindings-80a4aa37cff5).\n\n## Contributing\n\nYour feedback is **very helpful**, please share your opinion and thoughts! If you have any questions, join the [`#graphql-boilerplates`](https://prisma.slack.com/messages/graphql-boilerplates) channel on our [Slack](https://prisma.slack.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatt%2Fwhycantihaveidinmyname","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatt%2Fwhycantihaveidinmyname","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatt%2Fwhycantihaveidinmyname/lists"}