Welcome to Nitro GraphQL v2 Blog
We'll share news, updates, and technical articles about Nitro GraphQL v2 on this blog.
Welcome to Nitro GraphQL v2 Blog
This documentation is currently in beta. We'll update and improve the content weekly.
Hello! Welcome to the official Nitro GraphQL v2 blog. We'll share all news, updates, and technical articles about our project here.
What is Nitro GraphQL?
Nitro GraphQL is a GraphQL integration module developed for the entire JavaScript/TypeScript ecosystem. It works with Nitro, Vite, and other modern tools. It automatically:
- Discovers GraphQL schemas and resolvers
- Generates TypeScript type files
- Supports both GraphQL Yoga and Apollo Server
- Works with Apollo Federation
- Standalone CLI for independent usage
What's New in v2
Standalone CLI
Now you can use it without Nitro or Vite integration:
# Create project from template
nitro-graphql init my-app -t nitro
# Type generation
nitro-graphql generate --watch
# Schema validation
nitro-graphql validate
Template System
Quickly create projects from ready-made templates:
nitro- Minimal startervite,vite-react,vite-vue- Frontend integrationsdrizzle-orm- Database integrationbetter-auth- Authentication
For teams: Create and share your own template on GitHub:
nitro-graphql init my-app -t gh:yourcompany/graphql-template
Shell Tab Completion
Complete commands with TAB:
nitro-graphql complete zsh >> ~/.zshrc
Vite Integration
Direct integration with Vite. Up to 98% size reduction thanks to Rolldown optimization.
Runtime File Generation
For standalone server usage:
nitro-graphql generate --runtime
This command generates resolvers.ts, schema.ts, and index.ts files.
Built with Pixel Content
This documentation site was built using Pixel Content. Pixel Content is a modern documentation and blog platform based on Nuxt.
Pixel Content features:
- Multi-language support (i18n)
- Blog and documentation
- SEO optimization
- Dark/Light theme
- MDC (Markdown Components) support
Purchase Pixel Content to create your own documentation site.
Upcoming Articles
We'll publish articles on the following topics in the coming weeks:
- Getting Started Guide - How to install Nitro GraphQL
- Writing Resolvers - Type-safe resolvers with TypeScript
- Federation - GraphQL with microservices architecture
- Performance Tips - Optimization in production
Stay tuned!