Switch branches/tags
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
prisma convert app to prisma-client Dec 17, 2018
src convert app to prisma-client Dec 17, 2018
.gitignore convert to Prisma Jan 20, 2018
README.md adjust README Dec 17, 2018
package.json start converting prisma client Dec 17, 2018
yarn.lock start converting prisma client Dec 17, 2018



This repository contains the final project for the GraphQL.js tutorial on How to GraphQL. Note that it also serves as foundation for all frontend tutorials on the site.


1. Clone repository & install dependencies

git clone https://github.com/howtographql/graphql-js	
cd graphql-js
yarn install # or `npm install`

2. Install the Prisma CLI

yarn global add prisma

3. Deploy the Prisma database service

prisma deploy

When prompted where (i.e. to which Prisma server) you want to deploy your service, choose the Demo server which can be used for free in Prisma Cloud. If you haven't done so already, you will be asked to register with Prisma Cloud (which you can do via GitHub). For the following prompts in the terminal you can select the suggested values by hitting Enter. (If you have Docker installed, you can also choose to deploy Prisma locally by creating a new database.)

4. Start the server & open Playground

To interact with the API in a GraphQL Playground, all you need to do is execute the start script defined in package.json:

yarn start