Declarative, Code-First GraphQL Schemas for JavaScript/TypeScript. GraphQL Nexus' APIs were designed with type-safety in mind. We auto-generate type-definitions as you develop, and infer them in your code, giving you IDE completion and type error catching out of the box! Nexus can work with existing graphql-js types when constructing its schema. The generated schema works with your favorite tools like Apollo Server or GraphQL middleware. GraphQL Nexus is a declarative syntax layered on the graphql-js library. Whatever you can do with graphql-js or apollo-tools, you can do with Nexus. Automatically generates and infers types based on the schema. No need to manually add annotations, Nexus can automatically infer them in TypeScript using global declaration merging and conditional type inference. For association type fields, you can either import types you've created, or supply their names as strings, with free autocomplete.

Features

  • Autocompletion on Type Names
  • SDL -> Nexus Converter
  • Automatic Type Inference (even in JS!)
  • Type-Safe by Default
  • Works With The Ecosystem
  • Data-Agnostic

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Nexus

Nexus Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Nexus!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Software Development Software

Registered

2023-02-28