{"id":16493831,"url":"https://github.com/linbudu599/graphql-explorer-server","last_synced_at":"2025-07-04T17:10:20.697Z","repository":{"id":47610316,"uuid":"292468420","full_name":"linbudu599/GraphQL-Explorer-Server","owner":"linbudu599","description":"GraphQL Stack Example:  Apollo Server \u0026 TypeGraphQL \u0026 TypeORM","archived":false,"fork":false,"pushed_at":"2023-09-21T17:41:35.000Z","size":20913,"stargazers_count":7,"open_issues_count":11,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-28T15:55:39.760Z","etag":null,"topics":["apollo-server","graphql","starter-template","typegraphql","typeorm","typestack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linbudu599.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}},"created_at":"2020-09-03T04:42:48.000Z","updated_at":"2022-08-16T03:03:05.000Z","dependencies_parsed_at":"2022-09-09T17:11:31.239Z","dependency_job_id":null,"html_url":"https://github.com/linbudu599/GraphQL-Explorer-Server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/linbudu599/GraphQL-Explorer-Server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linbudu599%2FGraphQL-Explorer-Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linbudu599%2FGraphQL-Explorer-Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linbudu599%2FGraphQL-Explorer-Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linbudu599%2FGraphQL-Explorer-Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linbudu599","download_url":"https://codeload.github.com/linbudu599/GraphQL-Explorer-Server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linbudu599%2FGraphQL-Explorer-Server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263585897,"owners_count":23484488,"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":["apollo-server","graphql","starter-template","typegraphql","typeorm","typestack"],"created_at":"2024-10-11T14:10:52.226Z","updated_at":"2025-07-04T17:10:20.682Z","avatar_url":"https://github.com/linbudu599.png","language":"TypeScript","readme":"# GraphQL-Explorer-Server\n\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/linbudu599/GraphQL-Explorer-Server/GraphQL-Explorer-Server)\n![Codecov](https://img.shields.io/codecov/c/github/linbudu599/GraphQL-Explorer-Server)\n![GitHub last commit](https://img.shields.io/github/last-commit/linbudu599/GraphQL-Explorer-Server)\n![David](https://img.shields.io/david/dev/linbudu599/GraphQL-Explorer-Server?label=dependencies)\n\n![GitHub package.json dependency version (subfolder of monorepo)](https://img.shields.io/github/package-json/dependency-version/linbudu599/GraphQL-Explorer/graphql)\n![GitHub package.json dependency version (subfolder of monorepo)](https://img.shields.io/github/package-json/dependency-version/linbudu599/GraphQL-Explorer/type-graphql)\n![GitHub package.json dependency version (subfolder of monorepo)](https://img.shields.io/github/package-json/dependency-version/linbudu599/GraphQL-Explorer/apollo-server)\n\nThis is a **demo** which contains `GraphQL` and framework based on it(or work with it perfectly), including these for now:\n\n## 🚀\u0026nbsp; Explore\n\n```bash\nnpm install\nnpm run dev\n```\n\n## 🛵\u0026nbsp; Available Scripts\n\n- `dev`: develop server by [nodemon](https://github.com/remy/nodemon).\n- `build`: compile server code by [tsc](https://github.com/microsoft/TypeScript).\n  - `prebuild`: Generation of `GenQL` \u0026 `Prisma Client`.\n  - `postbuild`: copy generated `Prisma Client ` files, run `prisma db push` to create SQLite file.\n- `build:vercel`: build scripts on Vercel Functions.\n- `start`: run in prod by [nodemon](https://github.com/remy/nodemon)(recommended to run before deployment).\n- `clean`: remove `/dist`(build output) \u0026 `api-dist`(Vercel build output) directory.\n- `test`: run test cases by [Jest](https://github.com/facebook/jest).\n- `pm2`: run in prod by [PM2](https://github.com/Unitech/pm2).\n- `stress-test`: run pressure test to server, see [stress-fork.js](./st-fork.js) \u0026 [stress-main.js](./st-main.js).\n- `voyager`: represent GraphQL API as an interactive graph by [GraphQL-Voyager](https://github.com/APIs-guru/graphql-voyager), **require local server to be active**.\n- `gen:code`: generate type definitions from GraphQL schema by [GraphQL-Code-Generator](https://github.com/dotansimha/graphql-code-generator).\n- `gen:docs`: generate documentation site from GraphQL schema by [GraphDoc](https://github.com/2fd/graphdoc).\n- `gen`: generate docs \u0026 code, as `gen:code` \u0026 `gen:docs` require local server alive, **this command will use NodeJS `child_process` mod to handle server setup.**\n- `serve:docs`: generate \u0026 serve documentation site by [serve](https://github.com/vercel/serve).\n- `commit`: commit code by [custom commitlint config](.cz-config.js).\n- `prettier`: prettier all `.ts` / `.json` / `.graphql` ext file.\n- `typecheck`: check TypeScript type definitions.\n- `seed:config`: check [typeorm-seeding](https://github.com/w3tecch/typeorm-seeding) config.\n- `seed:run`: start seeding data in `/server/entity/seeds`.\n- `genql`: generate GraphQL query builder by [GenQL](https://github.com/remorses/genql).\n- `prisma:*` [Prisma 2](https://www.prisma.io/) Related Commands.\n\n### Main\n\n- [x] GraphQL\n- [x] TypeGraphQL\n- [x] Apollo-Server\n- [x] DataLoader (Supported By [TypeGraphQL-DataLoader](https://github.com/slaypni/type-graphql-dataloader))\n- [x] TypeORM + SQLite3\n- [x] Prisma 2(As replacement for TypeORM)\n- [ ] Subscription\n\n### Other Powerful Tools\n\n- [x] [GraphQLDoc](https://github.com/2fd/graphdoc)\n- [x] [GraphQL-Voyager](https://github.com/APIs-guru/graphql-voyager)\n- [x] [GenQL](https://github.com/remorses/genql)\n- [x] [GraphQL-Code-Generator](https://github.com/dotansimha/graphql-code-generator)\n\n\n## Features\n\n- [x] TypeORM Entity Relations [Setup](./server/entities): 1-1 1-m m-n\n- [x] Most API of TypeGraphQL: InputType / InterfaceType / AuthChecker / Middlewares / Containers / ...\n- [x] Configurated Apollo-Server With [Plugins](./server/plugins)\n- [x] Visualized API Graph by GraphQLDoc \u0026 GraphQL-Voyager\n- [x] Useful [Directives](./server/directives) \u0026 [Decorators](./server/decorators)\n\n## 🏗️ \u0026nbsp; Server \u0026 Docs Deployment\n\n- [x] [Docs by Surge](http://graphql-explorer-docs.surge.sh/)\n- [x] [Voyager by Surge](http://graphql-explorer-voyager.surge.sh/) **(Require Local Server To Be Active)**\n- [x] [Voyager on Remote Server](http://voyager.linbudu.top/)\n- [x] [Simple Example on Vercel Fucntions](https://graphql-faas.vercel.app/api/sample), see [Query Example](./api/sample/query.graphql)\n- [x] [Simple Example of Vercel Fucntions, with MySQL](https://graphql-faas.linbudu599.vercel.app/api/graphql)\n- [x] [Full Server Deployed at ALI Cloud ECS](http://47.97.183.158:4399/graphql)\n- [x] [Apollo Engine(**private**)](https://studio.apollographql.com/graph/My-Graph-innqj/explorer?schemaTag=current)\n\n## 📔\u0026nbsp; Document\n\nsee offcial docs for more information.\n\n- [GraphQL](https://graphql.org/)\n- [Apollo-GraphQL](https://www.apollographql.com/docs/)\n- [TypeGraphQL](https://typegraphql.com/)\n- [TypeStack](https://github.com/typestack)\n- [TypeORM](https://github.com/typeorm)\n- [Prisma](https://www.prisma.io/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinbudu599%2Fgraphql-explorer-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinbudu599%2Fgraphql-explorer-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinbudu599%2Fgraphql-explorer-server/lists"}