GitHub
github.com › graphql-nexus › nexus
GitHub - graphql-nexus/nexus: Code-First, Type-Safe, GraphQL Schema Construction · GitHub
import { queryType, stringArg, makeSchema } from 'nexus' import { GraphQLServer } from 'graphql-yoga' const Query = queryType({ definition(t) { t.string('hello', { args: { name: stringArg() }, resolve: (parent, { name }) => `Hello ${name || 'World'}!`, }) }, }) const schema = makeSchema({ types: [Query], outputs: { schema: __dirname + '/generated/schema.graphql', typegen: __dirname + '/generated/typings.ts', }, }) const server = new GraphQLServer({ schema, }) server.start(() => `Server is running on http://localhost:4000`) More examples can be found in the /examples directory: ... You can find the docs for Nexus here.
Author graphql-nexus
Nexus-graphql
nexus-graphql.github.io
Nexus
While each data source has been ... sources is often related. An example could be product data, such as books stored in a database, with cart information stored in Shopify....
GitHub
github.com › diego3g › graphql-nexus-example
GitHub - diego3g/graphql-nexus-example: Sample API developed with GraphQL Nexus, TypeScript and Prisma
April 10, 2019 - Sample API developed with GraphQL Nexus, TypeScript and Prisma - diego3g/graphql-nexus-example
Starred by 25 users
Forked by 3 users
Languages TypeScript 100.0% | TypeScript 100.0%
GitHub
github.com › graphql-nexus › tutorial
GitHub - graphql-nexus/tutorial: Code for the Nexus tutorial · GitHub
Starred by 11 users
Forked by 5 users
Languages TypeScript 81.4% | JavaScript 17.1% | Shell 1.5%
Prisma
prisma.io › blog › introducing-graphql-nexus-code-first-graphql-server-development-ll6s1yy5cxl5
GraphQL Nexus: Code-First GraphQL Server Development | Prisma
February 7, 2019 - The Nexus API has been designed with special attention to developer experience. Some core design goals are: ... The development server that's running as you build your API ensures that you always get auto-completion and error checks for the schema changes you just introduced. With the new schema polling feature in the GraphQL Playground, you GraphQL API will reload instantly as you adjust the schema as well.
Nexus Schema
nexusjs.org › docs
Nexus Documentation (Concepts, Reference & Guides)
Nexus builds upon the primitives of graphql-js, and attempts to take the simplicity of the SDL schema-first approach and pair it with the power of having the full language runtime at your disposal. Nexus was designed with TypeScript/JavaScript intellisense in mind, and combines TypeScript generics, conditional types, and type merging to provide full auto-generated type coverage out of the box. Check out the example projects to get some ideas of what this looks like in practice, or try it out in the playground to see what we mean!
Nexusmods
graphql.nexusmods.com
Nexus Mods GraphQL API Documentation
https://api.nexusmods.com/v2/graphql · Gets age verification info for the authenticated user · Returns an AgeVerificationInfo!
Ts.ED
tsed.dev › tutorials › graphql-nexus.html
GraphQL Nexus | Ts.ED a modern Node.js/Bun.js framework built with TypeScript on top of Express.js/Koa.js/Fastify.js/CLI/AWS
February 11, 2026 - import {Configuration} from "@tsed/di"; import "@tsed/platform-express"; import "@tsed/apollo"; import {schema} from "./schema"; import {join} from "node:path"; @Configuration({ apollo: { server1: { // GraphQL server configuration path: "/", playground: true, // enable playground GraphQL IDE. Set false to use Apollo Studio schema, plugins: [] // Apollo plugins // Give custom server instance // server?: (config: Config) => ApolloServer; // ApolloServer options // ... // See options descriptions on https://www.apollographql.com/docs/apollo-server/api/apollo-server.html } } }) export class Server {} ... import {makeSchema} from "nexus"; import {join} from "node:path"; export const schema = makeSchema({ types: [], // 1 outputs: { typegen: join(process.cwd(), "..", "..", "nexus-typegen.ts"), // 2 schema: join(process.cwd(), "..", "..", "schema.graphql") // 3 } });
GitHub
github.com › prisma-labs › nexus
GitHub - prisma-labs/graphql-framework-experiment: Code-First Type-Safe GraphQL Framework
An API for building your fully featured GraphQL API. All features include a focus on type-safety autocompletion and jsDoc. A CLI for supporting your daily workflows while working. A plugin system spaning API and CLI for rich end-to-end plugins that you can use (or write) to fill in your niche needs. Nexus ...
Starred by 672 users
Forked by 63 users
Languages TypeScript 93.5% | JavaScript 5.2% | CSS 1.2% | Shell 0.1% | TypeScript 93.5% | JavaScript 5.2% | CSS 1.2% | Shell 0.1%
npm
npmjs.com › package › nexus
nexus - npm
March 5, 2022 - import { queryType, stringArg, makeSchema } from 'nexus' import { GraphQLServer } from 'graphql-yoga' const Query = queryType({ definition(t) { t.string('hello', { args: { name: stringArg() }, resolve: (parent, { name }) => `Hello ${name || 'World'}!`, }) }, }) const schema = makeSchema({ types: [Query], outputs: { schema: __dirname + '/generated/schema.graphql', typegen: __dirname + '/generated/typings.ts', }, }) const server = new GraphQLServer({ schema, }) server.start(() => `Server is running on http://localhost:4000`) More examples can be found in the /examples directory: ... You can find the docs for Nexus here.
» npm install nexus
Published Mar 05, 2022
Version 1.3.0
GitHub
github.com › diego3g › graphql-nexus-example › blob › master › docker-compose.yml
graphql-nexus-example/docker-compose.yml at master · diego3g/graphql-nexus-example
Sample API developed with GraphQL Nexus, TypeScript and Prisma - graphql-nexus-example/docker-compose.yml at master · diego3g/graphql-nexus-example
Author diego3g
Nexusjs
nexusjs.org
GraphQL Nexus · Declarative, Code-First GraphQL Schemas for JavaScript/TypeScript
GraphQL Nexus is a declarative syntax layered on the graphql-js library.
DEV Community
dev.to › studio_hungry › how-to-create-a-graphql-api-with-prisma-and-nexus-144j
How to create a GraphQL API with Prisma and Nexus - DEV Community
March 8, 2021 - This file would then be added to every time you wanted to introduce a new data type or query definition, this works so long as the number of data models is small but is not very modular and wouldn't be easy to scale if you were to introduce multiple new data types and queries. Another way to accomplish defining your GraphQL types and schema is to use Nexus and to take a code first approach by giving each type its own file and using the objectType function.
GitHub
github.com › prisma-labs › graphql-framework-experiment-examples
GitHub - prisma-labs/graphql-framework-experiment-examples: Runnable examples to help you learn how to use Nexus.
This repo includes various examples using Nexus. Each directory here contains one runnable example. The naming pattern of directories is designed to help navigate them.
Starred by 64 users
Forked by 15 users
Languages TypeScript 85.2% | CSS 9.5% | JavaScript 5.3% | TypeScript 85.2% | CSS 9.5% | JavaScript 5.3%
LogRocket
blog.logrocket.com › home › how graphql nexus can help you create better apis
How GraphQL Nexus can help you create better APIs - LogRocket Blog
June 4, 2024 - The types property is where you can pass your GraphQL types. In the outputs property, you can pass two properties called schema and typegen. GraphQL Nexus is going to generate a file called schema.graphql for you with your entire GraphQL schema and a file called typing.ts with all of our types.