Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.32 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.32 KB

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.