Version: 1.0

Creating a new application

Prerequisites

Before you start, check to make sure you have the following installed:

  • Node.js v10.15.x or later
  • npm v5.x or later
  • yarn v1.x or later (optional)

Create your application

Create Graphback is a command-line utility for creating Graphback applications.

Create a Graphback application with npx:

npx create-graphback my-awesome-project

The CLI will ask you to pick from one of a number of templates. Once chosen, the template will be downloaded to your computer.

Change into your project folder:

cd my-awesome-project

The project will have a GraphQL schema file with some example types which you will likely want to change. Learn how to design your data models.

Each template will be different, so you should follow the guide in your new project's README to complete the setup.