with nuxt 4 and a template of how graphql should be used.
A modern, high-performance Nuxt 4 starter template with GraphQL Yoga integration for building robust GraphQL APIs.
This project demonstrates how to integrate GraphQL Yoga with Nuxt 4, providing a powerful backend for your Nuxt applications. GraphQL Yoga is a fully-featured GraphQL server with focus on easy setup, performance and great developer experience.
This template comes with pre-configured GraphQL Yoga setup:
/api/graphql/api/graphql/healthOnce your server is running, you can:
/api/graphqlquery {
hello
ping
}
Make sure to install dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
Start the development server on http://localhost:3000:
# pnpm
pnpm dev
Build the application for production:
# pnpm
pnpm build
Locally preview production build:
# pnpm
pnpm preview
Check out the deployment documentation for more information.
Made with β€οΈ by productdevbook | GitHub | Website
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.