Modern framework for GraphQL API in Node.js. Use only classes and decorators to define your GraphQL schema. No need to define types in SDL and no need to create interfaces for them! This way you will have only one source of truth, so say goodbye to all field type mismatches, typos, and annoying refactoring. Define your whole schema, including types, interfaces, enums, unions, and subscriptions. Create the schema, types, and resolvers only with TypeScript, using classes and decorators! Use features like automatic validation, authorization guards, dependency injection, and plenty more. Implement queries and mutations as normal class methods! Dependency injection support and decorators abstraction provide great separation of business logic from the underlying transport layer. That gives you really easy testability, so you can just provide mocks of dependencies to prevent side effects and unit test your resolvers like simple services whose methods only take some parameters.

Features

  • Define your whole schema, including types, interfaces, etc.
  • Create the schema, types and resolvers only with TypeScript
  • Use features like automatic validation, authorization guards, etc.
  • Create resolvers
  • Easy validation
  • Interoperable and community supported

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow TypeGraphQL

TypeGraphQL Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of TypeGraphQL!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Software Development Software, TypeScript Frameworks, TypeScript Design Software

Registered

2022-03-14