Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

Latest commit

 

History

History
31 lines (19 loc) · 1.24 KB

05-Boilerplates.md

File metadata and controls

31 lines (19 loc) · 1.24 KB

GraphQL Boilerplates

Bootstrapping GraphQL boilerplates

GraphQL boilerplates provide starter kits for your next GraphQL projects. They are based on industry best practices and the latest tooling from the GraphQL ecosystem. They are also preconfigured with .graphqlconfig.

You can bootstrap a GraphQL boilerplate using the graphql create command.

Example 1: Use the interactive prompt to select one of the available boilerplate projects (e.g. Node, TypeScript, React, Vue, ...)

graphql create myapp

This creates a new directory called myapp where your project files will be located.

Example 2: Bootstrap the typescript-advanced boilerplate

graphql create myapp --boilerplate typescript-advanced

This creates a new directory called myapp where your project files will be located.

Example 3: Bootstrap the react-fullstack-basic boilerplate

graphql create myapp --boilerplate react-fullstack-basic

This creates a new directory called myapp where your project files will be located.