Skip to content

Commit cba89c6

Browse files
authored
Update README.md
1 parent 0ec1dd5 commit cba89c6

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

README.md

-34
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,3 @@
11
# hackernews-graphql-js
22

33
This repository contains the final project for the [**GraphQL.js tutorial**](https://www.howtographql.com/graphql-js/0-introduction/) on [How to GraphQL](https://www.howtographql.com/). Note that it also serves as foundation for all frontend tutorials on the site.
4-
5-
## Usage
6-
7-
### 1. Clone repository & install dependencies
8-
9-
```sh
10-
git clone https://github.com/howtographql/graphql-js
11-
cd graphql-js
12-
yarn install # or `npm install`
13-
```
14-
15-
### 2. Install the Prisma CLI
16-
17-
```sh
18-
yarn global add prisma
19-
```
20-
21-
You need to setup a Prisma service. You can refer to [this Quickstart](https://www.prisma.io/docs/quickstart/) to learn how.
22-
23-
### 3. Deploy Prisma and database
24-
25-
```sh
26-
prisma deploy
27-
```
28-
29-
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 (it comes with a connected AWS Aurora database). 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.)
30-
31-
### 4. Start the server & open Playground
32-
33-
To interact with the API in a GraphQL Playground, all you need to do is execute the `start` script defined in `package.json`:
34-
35-
```sh
36-
yarn start
37-
```

0 commit comments

Comments
 (0)