├── .env ├── .eslintrc.json ├── .gitignore ├── Dockerfile ├── README.md ├── data └── schema.graphql ├── lib └── relay │ ├── app.tsx │ ├── environment.ts │ ├── getServerSideProps.ts │ └── network.ts ├── next-env.d.ts ├── next.config.js ├── package.json ├── pages ├── _app.tsx └── index.tsx ├── public ├── favicon.ico └── vercel.svg ├── relay.config.js ├── styles ├── Home.module.css └── globals.css ├── tsconfig.json ├── ui ├── Loading.tsx ├── errorBoundary │ ├── ErrorBoundaryWithRetry.tsx │ └── ErrorViewBoundary.tsx └── withRelayBoundary.tsx └── yarn.lock /.env: -------------------------------------------------------------------------------- 1 | GRAPHQL_ENDPOINT=https://countries.trevorblades.com -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/README.md -------------------------------------------------------------------------------- /data/schema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/data/schema.graphql -------------------------------------------------------------------------------- /lib/relay/app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/lib/relay/app.tsx -------------------------------------------------------------------------------- /lib/relay/environment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/lib/relay/environment.ts -------------------------------------------------------------------------------- /lib/relay/getServerSideProps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/lib/relay/getServerSideProps.ts -------------------------------------------------------------------------------- /lib/relay/network.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/lib/relay/network.ts -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/package.json -------------------------------------------------------------------------------- /pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/pages/_app.tsx -------------------------------------------------------------------------------- /pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/pages/index.tsx -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /relay.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/relay.config.js -------------------------------------------------------------------------------- /styles/Home.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/styles/Home.module.css -------------------------------------------------------------------------------- /styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/styles/globals.css -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/tsconfig.json -------------------------------------------------------------------------------- /ui/Loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/ui/Loading.tsx -------------------------------------------------------------------------------- /ui/errorBoundary/ErrorBoundaryWithRetry.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/ui/errorBoundary/ErrorBoundaryWithRetry.tsx -------------------------------------------------------------------------------- /ui/errorBoundary/ErrorViewBoundary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/ui/errorBoundary/ErrorViewBoundary.tsx -------------------------------------------------------------------------------- /ui/withRelayBoundary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/ui/withRelayBoundary.tsx -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniloab/relay-13-nextjs/HEAD/yarn.lock --------------------------------------------------------------------------------