Blog Posts (1)
Apollo Koa Implementation for a Multi Tenant GraphQL API
This Apollo Koa implementation is created for our multi-tenant headless ecommerce service Crystallize. It is heavily inspired by apollo-server-koa but leverages koa’s middleware paradigm, thus making it easy to add path parameters, which is our preferred way of making our API multi-tenant. A feature like this was suggested for the official implementation several times, but since this didn’t seem to gain any traction, we implemented it ourselves and released it as open-source.