Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Spend more time building instead of configuring your next project. A starter kit for fully typed Next.js apps with Apollo, Joy UI, and more.
Next Apollo Joy Starter is a free, open-source boilerplate for building fully typed Next.js applications with Apollo GraphQL and MUI's Joy UI component library. Created by Tim Mikeladze, it bundles a full GraphQL server and client, authentication, localization, PWA support, and a complete development workflow so you can start a project without extra configuration.
It is a slightly opinionated starter kit for Next.js apps. It takes a fresh clone (via npx degit TimMikeladze/next-apollo-joy-starter) and outputs a project with an Apollo Client and Apollo Server API at /api/graphql, type-safe GraphQL operations, Joy UI components, and a suite of preconfigured tools. It runs on Next.js, can be deployed anywhere Next.js runs (Vercel suggested), and includes GraphQL Codegen and Zeus for end-to-end TypeScript coverage of every query and mutation.
yarn dev, and you have a Next.js app with a GraphQL API, auth, and UI components immediately.yarn build:analyze to inspect page bundles with next-bundle-analyzer.Get started by cloning the repo with npx degit TimMikeladze/next-apollo-joy-starter my-app (this removes the .git folder, LICENSE.md, and README.md), then run git init, yarn, and yarn dev. The project uses Yarn by default; to use another package manager, delete yarn.lock and replace every yarn occurrence in the project. Committing is handled by yarn commit, which also runs lint-staged on staged files, and yarn release triggers release-it to publish tagged releases.
Yes, this is an open-source starter kit. You can clone it with npx degit and use it for personal or commercial projects. The repository includes a LICENSE.md file (removed when using degit).
The project is documented with Yarn commands. To use npm or pnpm, remove the yarn.lock file and find-and-replace yarn in the project with your package manager of choice.
Since it is a Next.js app, it can be deployed anywhere Next.js runs. The README suggests Vercel with the GitHub integration for quick production deploys; you can also run yarn build for a local production build.
Yes. The README states that Joy UI can be replaced with Tailwind CSS with minimal effort while keeping the rest of the starter kit intact.
The Apollo Server is mounted at /api/graphql. When running yarn dev, Apollo Sandbox is available at localhost:3000/api/graphql in your browser for experimenting with queries and schema.
