{"id":19346667,"url":"https://github.com/antmjs/tempnest-prisma-graphql","last_synced_at":"2026-05-13T01:35:50.590Z","repository":{"id":105087874,"uuid":"404592678","full_name":"AntmJS/tempnest-prisma-graphql","owner":"AntmJS","description":"基于nest+prisma+graphql的node解决方案","archived":false,"fork":false,"pushed_at":"2021-09-10T07:43:15.000Z","size":163,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-06T14:27:28.852Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/AntmJS.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":"2021-09-09T05:06:21.000Z","updated_at":"2021-09-10T07:43:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"a59d96ea-9117-4118-a396-4daaa401f4c1","html_url":"https://github.com/AntmJS/tempnest-prisma-graphql","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/AntmJS%2Ftempnest-prisma-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntmJS%2Ftempnest-prisma-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntmJS%2Ftempnest-prisma-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntmJS%2Ftempnest-prisma-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AntmJS","download_url":"https://codeload.github.com/AntmJS/tempnest-prisma-graphql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240457946,"owners_count":19804489,"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-11-10T04:11:31.764Z","updated_at":"2026-05-13T01:35:50.557Z","avatar_url":"https://github.com/AntmJS.png","language":"TypeScript","funding_links":["https://opencollective.com/nest","https://paypal.me/kamilmysliwiec"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://nestjs.com/\" target=\"blank\"\u003e\u003cimg src=\"https://nestjs.com/img/logo_text.svg\" width=\"320\" alt=\"Nest Logo\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456\n[circleci-url]: https://circleci.com/gh/nestjs/nest\n\n  \u003cp align=\"center\"\u003eA progressive \u003ca href=\"http://nodejs.org\" target=\"_blank\"\u003eNode.js\u003c/a\u003e framework for building efficient and scalable server-side applications.\u003c/p\u003e\n    \u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.npmjs.com/~nestjscore\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@nestjs/core.svg\" alt=\"NPM Version\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/~nestjscore\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/@nestjs/core.svg\" alt=\"Package License\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/~nestjscore\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/@nestjs/common.svg\" alt=\"NPM Downloads\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://circleci.com/gh/nestjs/nest\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/circleci/build/github/nestjs/nest/master\" alt=\"CircleCI\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://coveralls.io/github/nestjs/nest?branch=master\" target=\"_blank\"\u003e\u003cimg src=\"https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#9\" alt=\"Coverage\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://discord.gg/G7Qnnhy\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/discord-online-brightgreen.svg\" alt=\"Discord\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/nest#backer\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/nest/backers/badge.svg\" alt=\"Backers on Open Collective\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/nest#sponsor\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/nest/sponsors/badge.svg\" alt=\"Sponsors on Open Collective\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://paypal.me/kamilmysliwiec\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/Donate-PayPal-ff3f59.svg\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://opencollective.com/nest#sponsor\"  target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg\" alt=\"Support us\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://twitter.com/nestframework\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/nestframework.svg?style=social\u0026label=Follow\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n  \u003c!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)\n  [![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)--\u003e\n\n## Description\n\n[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.\n\n## Installation\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## Support\n\nNest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).\n\n## Stay in touch\n\n- Author - [Kamil Myśliwiec](https://kamilmysliwiec.com)\n- Website - [https://nestjs.com](https://nestjs.com/)\n- Twitter - [@nestframework](https://twitter.com/nestframework)\n\n## License\n\nNest is [MIT licensed](LICENSE).\n\n## 步骤\n\nprisma:generate:watch  监听prisma/schema.prisma文件生成prismaclient\nstart:dev 触发生成schema.graphql\n\n## 异常过滤器\n\n- BadRequestException\n\"errors\": [\n    {\n      \"message\": \"Bad Request\",\n      \"extensions\": {\n        \"code\": \"BAD_USER_INPUT\",\n        \"response\": {\n          \"statusCode\": 400,\n          \"message\": \"Bad Request\"\n        }\n      }\n    }\n  ]\n- UnauthorizedException\n\"errors\": [\n    {\n      \"message\": \"Unauthorized\",\n      \"extensions\": {\n        \"code\": \"UNAUTHENTICATED\",\n        \"response\": {\n          \"statusCode\": 401,\n          \"message\": \"Unauthorized\"\n        }\n      }\n    }\n  ],\n- NotFoundException\n\"errors\": [\n    {\n      \"message\": \"Not Found\",\n      \"extensions\": {\n        \"code\": \"404\",\n        \"response\": {\n          \"statusCode\": 404,\n          \"message\": \"Not Found\"\n        }\n      }\n    }\n  ],\n- ForbiddenException\n\"errors\": [\n    {\n      \"message\": \"Forbidden\",\n      \"extensions\": {\n        \"code\": \"FORBIDDEN\",\n        \"response\": {\n          \"statusCode\": 403,\n          \"message\": \"Forbidden\"\n        }\n      }\n    }\n  ],\n- NotAcceptableException\n\"errors\": [\n    {\n      \"message\": \"Not Acceptable\",\n      \"extensions\": {\n        \"code\": \"406\",\n        \"response\": {\n          \"statusCode\": 406,\n          \"message\": \"Not Acceptable\"\n        }\n      }\n    }\n  ],\n- RequestTimeoutException\n\"errors\": [\n    {\n      \"message\": \"Request Timeout\",\n      \"extensions\": {\n        \"code\": \"408\",\n        \"response\": {\n          \"statusCode\": 408,\n          \"message\": \"Request Timeout\"\n        }\n      }\n    }\n  ],\n- ConflictException\n\"errors\": [\n    {\n      \"message\": \"Conflict\",\n      \"extensions\": {\n        \"code\": \"409\",\n        \"response\": {\n          \"statusCode\": 409,\n          \"message\": \"Conflict\"\n        }\n      }\n    }\n  ],\n- GoneException\n\"errors\": [\n    {\n      \"message\": \"Gone\",\n      \"extensions\": {\n        \"code\": \"410\",\n        \"response\": {\n          \"statusCode\": 410,\n          \"message\": \"Gone\"\n        }\n      }\n    }\n  ],\n- HttpVersionNotSupportedException\n\"errors\": [\n    {\n      \"message\": \"HTTP Version Not Supported\",\n      \"extensions\": {\n        \"code\": \"505\",\n        \"response\": {\n          \"statusCode\": 505,\n          \"message\": \"HTTP Version Not Supported\"\n        }\n      }\n    }\n  ],\n- PayloadTooLargeException\n\"errors\": [\n    {\n      \"message\": \"Payload Too Large\",\n      \"extensions\": {\n        \"code\": \"413\",\n        \"response\": {\n          \"statusCode\": 413,\n          \"message\": \"Payload Too Large\"\n        }\n      }\n    }\n  ],\n- UnsupportedMediaTypeException\n\"errors\": [\n    {\n      \"message\": \"Unsupported Media Type\",\n      \"extensions\": {\n        \"code\": \"415\",\n        \"response\": {\n          \"statusCode\": 415,\n          \"message\": \"Unsupported Media Type\"\n        }\n      }\n    }\n  ],\n- UnprocessableEntityException\n\"errors\": [\n    {\n      \"message\": \"Unprocessable Entity\",\n      \"extensions\": {\n        \"code\": \"422\",\n        \"response\": {\n          \"statusCode\": 422,\n          \"message\": \"Unprocessable Entity\"\n        }\n      }\n    }\n  ],\n- InternalServerErrorException\n\"errors\": [\n    {\n      \"message\": \"Internal Server Error\",\n      \"extensions\": {\n        \"code\": \"500\",\n        \"response\": {\n          \"statusCode\": 500,\n          \"message\": \"Internal Server Error\"\n        }\n      }\n    }\n  ],\n\"errors\": [\n    {\n      \"message\": \"Internal Server Error Exception\",\n      \"extensions\": {\n        \"code\": \"INTERNAL_SERVER_ERROR\",\n        \"exception\": {\n          \"response\": {\n            \"code\": \"xxx\",\n            \"msg\": \"mmm\"\n          },\n          \"status\": 500,\n          \"name\": \"InternalServerErrorException\"\n          \"message\": \"Internal Server Error Exception\"\n        }\n      }\n    }\n  ],\n- NotImplementedException\n\"errors\": [\n    {\n      \"message\": \"Not Implemented\",\n      \"extensions\": {\n        \"code\": \"501\",\n        \"response\": {\n          \"statusCode\": 501,\n          \"message\": \"Not Implemented\"\n        }\n      }\n    }\n  ],\n- ImATeapotException\n\"errors\": [\n    {\n      \"message\": \"I'm a teapot\",\n      \"extensions\": {\n        \"code\": \"418\",\n        \"response\": {\n          \"statusCode\": 418,\n          \"message\": \"I'm a teapot\"\n        }\n      }\n    }\n  ],\n- MethodNotAllowedException\n\"errors\": [\n    {\n      \"message\": \"Method Not Allowed\",\n      \"extensions\": {\n        \"code\": \"405\",\n        \"response\": {\n          \"statusCode\": 405,\n          \"message\": \"Method Not Allowed\"\n        }\n      }\n    }\n  ],\n- BadGatewayException\n\"errors\": [\n    {\n      \"message\": \"Bad Gateway\",\n      \"extensions\": {\n        \"code\": \"502\",\n        \"response\": {\n          \"statusCode\": 502,\n          \"message\": \"Bad Gateway\"\n        }\n      }\n    }\n  ],\n- ServiceUnavailableException\n\"errors\": [\n    {\n      \"message\": \"Service Unavailable\",\n      \"extensions\": {\n        \"code\": \"503\",\n        \"response\": {\n          \"statusCode\": 503,\n          \"message\": \"Service Unavailable\"\n        }\n      }\n    }\n  ],\n- GatewayTimeoutException\n\"errors\": [\n    {\n      \"message\": \"Gateway Timeout\",\n      \"extensions\": {\n        \"code\": \"504\",\n        \"response\": {\n          \"statusCode\": 504,\n          \"message\": \"Gateway Timeout\"\n        }\n      }\n    }\n  ],\n- PreconditionFailedException\n\"errors\": [\n    {\n      \"message\": \"Precondition Failed\",\n      \"extensions\": {\n        \"code\": \"412\",\n        \"response\": {\n          \"statusCode\": 412,\n          \"message\": \"Precondition Failed\"\n        }\n      }\n    }\n  ],\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantmjs%2Ftempnest-prisma-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantmjs%2Ftempnest-prisma-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantmjs%2Ftempnest-prisma-graphql/lists"}