Skip to content

Commit 2ea5dc6

Browse files
authored
another npm-to-yarn (#3312)
1 parent b1636be commit 2ea5dc6

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

website/src/pages/tutorial/basic/03-graphql-server.mdx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,13 @@ function main() {
5252
main()
5353
```
5454

55-
Now, try to run your server again with `npm run dev` (or, `npm run start`), open your browser and
56-
navigate to `http://localhost:4000/graphql`.
55+
Now, try to run your server again with
56+
57+
```sh npm2yarn
58+
npm run dev
59+
```
60+
61+
open your browser and navigate to `http://localhost:4000/graphql`.
5762

5863
Type in the following operation in the left editor section and press the `Play` button for executing
5964
the operation against the GraphQL server.
@@ -73,7 +78,7 @@ Unsurprisingly, the result looks like the following:
7378
Of course, it is also possible to send requests to the service without GraphiQL, e.g. by using
7479
`curl`.
7580

76-
Run the following command within your terminal for executing the same query operation.
81+
In another terminal window, run the following command in order to execute the same query operation.
7782

7883
```sh
7984
curl -X POST http://localhost:4000/graphql -H "Content-type: application/json" --data-raw '{"query": "query { hello }"}'

0 commit comments

Comments
 (0)