rsnext/examples/with-urql
Vitaly Baev e867fe0552
(examples/with-urql): fixes graphql server url (#25987)
## Documentation / Examples

- [x] Make sure the linting passes

As mentioned in #25854 `with-urql` doesn't work. After investigation, I've found that Pokémon GraphQL server located at `https://graphql-pokemon.vercel.app` is down.
After some research I came across its repository and this [pull request](https://github.com/lucasbento/graphql-pokemon/pull/14). That pull request provides new URL `https://graphql-pokemon2.vercel.app` which seems to work.

I don't know the status of this server, maybe @leerob can confirm this PR is ok.
2021-06-10 15:56:30 +00:00
..
graphql (examples/with-urql): fixes graphql server url (#25987) 2021-06-10 15:56:30 +00:00
pages Add urql to the examples list (#13006) 2020-05-22 18:56:34 +02:00
.gitignore Added .gitignore to examples that are deployed to vercel (#15127) 2020-07-16 10:52:23 -04:00
package.json Add urql to the examples list (#13006) 2020-05-22 18:56:34 +02:00
README.md (examples/with-urql): fixes graphql server url (#25987) 2021-06-10 15:56:30 +00:00

Next.js and urql

Use urql with Next.js using SSG.

Preview

Preview the example live on StackBlitz:

Open in StackBlitz

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example with-urql with-urql-app
# or
yarn create next-app --example with-urql with-urql-app

Deploy it to the cloud with Vercel (Documentation).