Skip to content

Commit 9f54988

Browse files
committed
done with running locally
1 parent efbfaa5 commit 9f54988

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/content/running-our-lambda-locally.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,19 @@ Now we have successfully deployed our function that has a basic Hello World quer
1212

1313
In your terminal run the following:
1414

15-
```
15+
```bash
1616
$ sls offline
1717
```
1818

19-
This will run your Lambda on port 4000. So in your browser if you go to \`localhost:4000/graphql\` you see an instance of GraphQL Playground:
20-
21-
\[add playground image here]
19+
This will run your Lambda on port`4000`. So in your browser if you go to `localhost:4000/graphql` you should see an instance of GraphQL Playground.
2220

2321
GraphQL Playground is where you can test your Queries/Mutations or Subscriptions for your GraphQL API and see the responses that come back from your server. Also it shows you the schema for your API, which makes it self documenting to a certain extent.
2422

2523
Now we can run the following query :
2624

27-
```
25+
```json
2826
{
29-
30-
hello
27+
hello
3128
}
3229
```
3330

0 commit comments

Comments
 (0)