Skip to content

This is a boilerplate Next.js application that is able to fetch data from a GraphQl server with Apollo.

Notifications You must be signed in to change notification settings

samfromaway/nextjs-apollo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apollo Example

Apollo is a GraphQL client that allows you to easily query the exact data you need from a GraphQL server. In addition to fetching and mutating data, Apollo analyzes your queries and their results to construct a client-side cache of your data, which is kept up to date as further queries and mutations are run.

In this simple example, we integrate Apollo seamlessly with Next.js data fetching methods to fetch queries in the server and hydrate them in the browser.

This example is inspired by the Next.js example and the blog post from apollo

About

This is a boilerplate Next.js application that is able to fetch data from a GraphQl server with Apollo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages