Skip to content

necccc/nextjs-apollo-graphql

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

nextjs-apollo-graphql

See it in action here

This is a small, proof-of-concept site, fetching and displaying data from the Star Wars API over GraphQL.

The project builds on:

Install & run locally

npm i
npm run dev

You can try out running it in docker containers, as a deployed instance

npm run build

Deploy to now.sh

If you have a now account active on your desktop, you can deploy to now

npm run deploy

Note on deployment & docker images

This setup creates two docker images, one for the app, using Alpine Node images, the other one is for static assets using nginx.

With this, I would like to demonstrate a near-real-life deployment, to a CDN, or any cluster for static assets.

About

Proof-of-concept site using NextJS, Apollo GraphQL, React and Carbon Components

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published