A demonstration for how a monolith might be split into microservices.
Each numbered section represents a logical step in the migration process.
- The latest wgc
- The latest router binary placed into the
./router
directory. You can automatically download the latest binary by runningdownload-binary.sh
.
- Pick a stage you'd like to run, e.g.,
./4-mutation-overrides
. - Run the script for the matching name, e.g.,
4-mutation-overrides
, from the rootpackage.json
. - Open
http://localhost:3002
in your browser. - Paste one of the operations from the
./0-operations
directory into the GraphQL playground. - Check out the traces and query plan and see how the router resolves the request.
- ???
- Profit!!!