Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Next.js boilerplate with Apollo Server/Client and Nexus Schema for building full-stack GraphQL applications.

A full-stack Next.js TypeScript template focused on functionality over UI, featuring Zustand, TanStack Query, and ESLint 9 support.
Next.js Apollo Nexus Boilerplate is a full-stack GraphQL starter in the Boilerplate category that combines the Next.js React framework with Apollo Server, Apollo Client, and Nexus Schema so developers can build a React frontend and a GraphQL API from one codebase. The repository is a Next.js project bootstrapped with Vercel's create-next-app, carries the topics apollo, graphql, nextjs, and nexus, and has 3 GitHub stars.
This boilerplate templates a Next.js application with Apollo Server and Apollo Client wired in for GraphQL, plus Nexus Schema for defining the GraphQL schema in code rather than in SDL files. As input, developers edit the React page in pages/index.js and the Nexus-based schema; as output, the development server serves the app at http://localhost:3000. It runs on Node.js through the Next.js framework and was initialized with create-next-app, the official Vercel scaffolding tool.
After running npm run dev or yarn dev, open http://localhost:3000 to view the app. Editing pages/index.js triggers an automatic browser update, and the GraphQL layer built from Apollo Server and Nexus Schema lives inside the same Next.js project. Deployment is handled through the Vercel Platform link included in the README.
Run npm run dev or yarn dev from the project root, then open http://localhost:3000 in your browser to see the result.
Nexus Schema defines the GraphQL schema in a code-first style using TypeScript, rather than writing SDL. The repository metadata lists Nexus Schema alongside Apollo Server and Apollo Client as the project's core GraphQL tooling.
The home page lives in pages/index.js, and the development server auto-updates the page whenever you save changes to that file.
The README recommends the Vercel Platform, which supports importing a Next.js project directly, and also links to the Next.js deployment documentation for alternative hosting options.
This is a standard create-next-app project, so it requires Node.js plus npm or yarn. The README lists npm run dev and yarn dev as the available development scripts.