An offline playground cdn for running GraphQL Playground in an offline environment.
npm install
npm start
First of all run and deploy this CDN with a configured port (default: 5678). Then, open your project and reconfigure the playground config of the Apollo Server to:
const server: ApolloServer = new ApolloServer({
schema,
playground: {
cdnUrl: `http://localhost:${PORT}`,
version: "1.0.0"
},
});
- NodeJS
- Express
- Playground