Skip to content

Commit

Permalink
docs(examples): add graphql to dependencies of graphql-api exam…
Browse files Browse the repository at this point in the history
…ple (remix-run#3042)

* chore(examples/graphql-api): add graphql dependecy

* chore(examples/graphql-api): update environemnt link in README

* chore(contributors): sign CLA

* Update examples/graphql-api/README.md

Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
  • Loading branch information
2 people authored and aaronpowell committed May 12, 2022
1 parent ec58e04 commit 900b929
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- abereghici
- abotsi
- accidentaldeveloper
- achinchen
- adicuco
- ahbruns
- ahmedeldessouki
Expand Down
2 changes: 1 addition & 1 deletion examples/graphql-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This example demonstrates using the [Fetch API][link-fetch] to query a [GraphQL]
## Setup

- Setup the `GRAPHQL_API` environment variable
- See the [Remix docs](/docs/guides/envvars) for some suggested patterns
- See the [Remix docs](https://remix.run/docs/guides/envvars) for some suggested patterns
- Run `npm install`
- And start the example with `npm run dev`
- Visit [http://localhost:3000](http://localhost:3000) in your browser.
Expand Down
1 change: 1 addition & 0 deletions examples/graphql-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@remix-run/react": "1.4.3",
"@remix-run/serve": "1.4.3",
"apollo-server-errors": "^3.3.1",
"graphql": "^16.4.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
Expand Down

0 comments on commit 900b929

Please sign in to comment.