{"id":16099774,"url":"https://github.com/hantsy/nestjs-graphql-sample","last_synced_at":"2025-03-16T08:32:26.843Z","repository":{"id":37966716,"uuid":"350689683","full_name":"hantsy/nestjs-graphql-sample","owner":"hantsy","description":"NestJS GraphQL Example","archived":false,"fork":false,"pushed_at":"2024-08-08T08:58:38.000Z","size":4155,"stargazers_count":17,"open_issues_count":13,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T05:55:55.319Z","etag":null,"topics":["auth0","express","graphql","nestjs","oauth2","oidc","typeorm","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/hantsy.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":"2021-03-23T11:39:18.000Z","updated_at":"2025-01-19T23:27:14.000Z","dependencies_parsed_at":"2024-08-08T10:59:17.754Z","dependency_job_id":"e573c69c-2057-4107-89d7-16033ebb7299","html_url":"https://github.com/hantsy/nestjs-graphql-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hantsy%2Fnestjs-graphql-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hantsy%2Fnestjs-graphql-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hantsy%2Fnestjs-graphql-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hantsy%2Fnestjs-graphql-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hantsy","download_url":"https://codeload.github.com/hantsy/nestjs-graphql-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243806070,"owners_count":20350775,"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":["auth0","express","graphql","nestjs","oauth2","oidc","typeorm","typescript"],"created_at":"2024-10-09T18:44:10.895Z","updated_at":"2025-03-16T08:32:26.253Z","avatar_url":"https://github.com/hantsy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NestJS GraphQL Sample\n\n![frontend](https://github.com/hantsy/nestjs-graphql-sample/workflows/frontend/badge.svg)\n![backend](https://github.com/hantsy/nestjs-graphql-sample/workflows/backend/badge.svg)\n[![codecov](https://codecov.io/gh/hantsy/nestjs-graphql-sample/branch/master/graph/badge.svg)](https://codecov.io/gh/hantsy/nestjs-graphql-sample)\n\nA NestJS GraphQL sample project, including:\n\n* Code first Nestjs/GraphQl development\n* TypeORM with Postgres \n* Passport/Jwt authentication with auth0.net IDP service\n* Fully testing codes with Jest, jest-mock-extended, ts-mockito, etc.\n* Github actions for continuous testing, code coverage report, docker image building, etc.\n\n## Docs\n\n\n\n\n## Build\n### Install dependencies\n\n```bash\n$ npm install\n```\n\n### Running the app\n\n```bash\n# development\n$ npm run start\n\n# watch mode\n$ npm run start:dev\n\n# production mode\n$ npm run start:prod\n```\n\n### Test\n\n```bash\n# unit tests\n$ npm run test\n\n# e2e tests\n$ npm run test:e2e\n\n# test coverage\n$ npm run test:cov\n```\n\n## Resources\n* [NestJS GraphQL chapter](https://docs.nestjs.com/graphql/quick-start)\n* [The Anatomy of a GraphQL Query](https://www.apollographql.com/blog/the-anatomy-of-a-graphql-query-6dffa9e9e747/)\n* [Developing a Secure API with NestJS: Managing Identity](https://auth0.com/blog/developing-a-secure-api-with-nestjs-adding-authorization/)\n* [Developing a Secure API with NestJS: Managing Roles](https://auth0.com/blog/developing-a-secure-api-with-nestjs-adding-role-based-access-control/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhantsy%2Fnestjs-graphql-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhantsy%2Fnestjs-graphql-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhantsy%2Fnestjs-graphql-sample/lists"}