This is a small, proof-of-concept site, fetching and displaying data from the Star Wars API over GraphQL.
The project builds on:
- Apollo GraphQL Client
- A GraphQL server running with Apollo Server & Engine
- Carbon Design System by IBM
- Star Wars visual guide, which seems to be using the SWAPI too, but has images!
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.