Skip to content

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

License

Notifications You must be signed in to change notification settings

necccc/nextjs-apollo-graphql

Repository files navigation

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