GraphQL Manual Docs
Docs
Neo4j DBMS
  • Getting Started
  • Operations
  • Migration and Upgrade
  • Status Codes
  • Java Reference
  • Kerberos Add-on
Neo4j Aura
  • Neo4j Aura
  • Neo4j AuraDB
  • Neo4j AuraDS
Neo4j Tools
  • Neo4j Bloom
  • Neo4j Browser
  • Neo4j Desktop
  • Neo4j Ops Manager
Neo4j Graph Data Science
  • Neo4j Graph Data Science Library
Cypher Query Language
  • Cypher
  • Cypher Cheat Sheet
  • APOC Library
Create applications
  • Python Driver
  • Go Driver
  • Java Driver
  • JavaScript Driver
  • .Net Driver
  • Neo4j GraphQL Library
  • HTTP API
  • OGM Library
  • Spring Data Neo4j
  • Neo4j Connector for Apache Spark
  • Neo4j Connector for Apache Kafka
Labs
arrows.app
  • Details
  • arrows.app
APOC
  • Documentation
  • Developer Guide
GraphQL & GRANDStack
  • Details
  • GRANDstack.io
Halin
Kafka Integration
  • Details
  • Documentation
ETL Tool
  • Details
  • Documentation
Neo4j Migrations
  • Details
  • Documentation
Neo4j Plugin For Liquibase
  • Details
  • Documentation
Neosemantics
  • Getting Started
  • Documentation
Neo4j Helm
  • Details
  • Documentation
NeoDash
  • Details
  • Documentation
Get Help
GraphAcademy
  • Free, Self Paced Training
  • Certification
Community Forum
Discord Chat
Knowledge Base
Neo4j Developer Blog
Neo4j Videos
Get Started
Neo4j AuraDB Start Free
Start your fully managed Neo4j cloud database
Neo4j Sandbox
Learn and use Neo4j for data science & more
Neo4j Desktop
Manage multiple local or remote Neo4j projects
Search
    • Neo4j GraphQL Library
      • Introduction
      • Getting Started
      • Type Definitions
        • Basics
        • Types
        • Union Types
        • Interface Types
        • Custom Directives
        • Relationships
        • Access Control
        • Autogeneration
        • @cypher directive
        • Default Values
        • Database Mapping
        • Indexes and Constraints
      • Queries
      • Mutations
        • Create
        • Update
        • Delete
      • Subscriptions
        • Getting Started
        • Events
          • Create
          • Update
          • Delete
          • Create Relationship
          • Delete Relationship
        • Filtering
        • Horizontal Scaling
        • Plugins
          • Single Instance
          • AMQP
      • Filtering
      • Sorting
      • Pagination
        • Offset-based pagination
        • Cursor-based pagination
      • Mathematical operators
      • Array methods
      • Custom Resolvers
      • Auth
        • Setup
        • @auth directive
        • Global Authentication
        • Authentication
        • Authorization
          • Allow
          • Bind
          • Roles
          • Where
        • Subscriptions
      • Directives
      • API Reference
        • Neo4jGraphQL
        • @neo4j/graphql-ogm
      • OGM
        • Installation
        • Examples
          • Custom Resolvers
          • REST API
        • @private Directive
        • Selection Set
        • Type Generation
        • API Reference
          • OGM
          • generate
          • Model
            • create
            • find
            • update
            • delete
            • aggregate
      • Introspector
      • GraphQL Toolbox
      • Driver Configuration
      • Guides
        • Apollo Federation - beta
        • Usage with Next.js
        • Migration Guide
          • Server
          • Type Definitions
          • Queries
          • Mutations
        • 2.0.0 Migration
          • Mutations
          • Unions
          • Miscellaneous
        • 3.0.0 Migration
        • 4.0.0 Migration
      • Troubleshooting
        • FAQs
        • Security
        • Optimizing create operations
      • Appendix
        • Preventing overfetching
      • Deprecations
  • Neo4j GraphQL Library
  • Guides
  • Usage with Next.js
Edit this Page

Usage with Next.js

We maintain an example project in the Next.js repository on how to use @neo4j/graphql with Next. The example demonstrates how to use the Neo4j Movie Database with GraphQL and Apollo Server 4.

Apollo Federation - beta Migration Guide

Was this page helpful?

© 2023 Neo4j, Inc.
Terms | Privacy | Sitemap

Neo4j®, Neo Technology®, Cypher®, Neo4j® Bloom™ and Neo4j® Aura™ are registered trademarks of Neo4j, Inc. All other marks are owned by their respective companies.

Contact Us →

US: 1-855-636-4532
Sweden +46 171 480 113
UK: +44 20 3868 3223
France: +33 (0) 8 05 08 03 44

Learn

  • Sandbox
  • Neo4j Community Site
  • Neo4j Developer Blog
  • Neo4j Videos
  • GraphAcademy
  • Neo4j Labs

Social

  • Twitter
  • Meetups
  • Github
  • Stack Overflow
  • Want to Speak? Get $ back.