GraphQL is a powerful query language for APIs and a runtime for fulfilling those queries with your existing data. It's an elegant approach that solves many problems typically found with REST APIs. For background, we suggest reading this comparison between GraphQL and REST. GraphQL combined with TypeScript helps you develop better type safety with your GraphQL queries, giving you end-to-end typing. In this chapter, we assume a basic understanding of GraphQL, and focus on how to work with the built-in @nestjs/graphql module. The GraphQLModule can be configured to use Apollo server (with the @nestjs/apollo driver) and Mercurius (with the @nestjs/mercurius). We provide official integrations for these proven GraphQL packages to provide a simple way to use GraphQL with Nest. Nest offers two ways of building GraphQL applications, the code first and the schema first methods. You should choose the one that works best for you.

Features

  • Nest is an MIT-licensed open source project
  • GraphQL is a powerful query language for APIs and a runtime for fulfilling those queries with your existing data
  • Progressive Node.js framework for building efficient and scalable server-side applications
  • GraphQL combined with TypeScript helps you develop better type safety with your GraphQL queries, giving you end-to-end typing
  • For background, we suggest reading this comparison between GraphQL and REST
  • It's an elegant approach that solves many problems typically found with REST APIs

Project Samples

Project Activity

See All Activity >

Categories

Frameworks, Runtimes

License

MIT License

Follow GraphQL for Nest framework

GraphQL for Nest framework 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 GraphQL for Nest framework!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Frameworks, TypeScript Runtimes

Registered

2023-03-03