Proof-of-concept site using NextJS, Apollo GraphQL, React and Carbon Components
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
apollo init Jul 5, 2018
components refactor pages to match new schema Jul 17, 2018
data refactor pages to match new schema Jul 17, 2018
deploy update to Next.js 7 Sep 25, 2018
layouts/Default init Jul 5, 2018
pages update to Next.js 7 Sep 25, 2018
server update to Next.js 7 Sep 25, 2018
.gitignore init Jul 5, 2018
LICENSE Initial commit Jul 4, 2018
README.md Update README.md Sep 25, 2018
index.js init Jul 5, 2018
next.config.js update to Next.js 7 Sep 25, 2018
package-lock.json update to Next.js 7 Sep 25, 2018
package.json update to Next.js 7 Sep 25, 2018
routing.js update to Next.js 7 Sep 25, 2018

README.md

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.