@chillicream/bananacakepop-graphql-ide
TypeScript icon, indicating that this package has built-in type declarations

16.0.3 • Public • Published

Banana Cake Pop GraphQL IDE

GraphQL IDE for Devs

Description

The IDE to create, explore, manage, and test GraphQL APIs with ease.

Installation

Install this package in your project:

npm install @chillicream/bananacakepop-graphql-ide --save-dev
# or
yarn add @chillicream/bananacakepop-graphql-ide --dev
# or
pnpm add @chillicream/bananacakepop-graphql-ide --save-dev

Recipes

🔗 Usage with express
Install the middleware in your project:
npm install @chillicream/bananacakepop-express-middleware --save-dev
# or
yarn add @chillicream/bananacakepop-express-middleware --dev
# or
pnpm add @chillicream/bananacakepop-express-middleware --save-dev

Add it to your /graphql route or any other (e.g., /bcp):

import express from "express";
import bcpMiddleware from "@chillicream/bananacakepop-express-middleware";

// ...

const app = express();

app.use(
  "/graphql",

  // for `cdn` hosted version
  bcpMiddleware({ mode: "cdn" })

  // for `self` hosted version
  // bcpMiddleware({ mode: "self" }),

  // place here your graphql middleware and others
);

app.listen(3000, () => {
  console.log(`GraphQL on http://localhost:3000/graphql`);
});

Package Sidebar

Install

npm i @chillicream/bananacakepop-graphql-ide

Weekly Downloads

22

Version

16.0.3

License

SEE LICENSE FILE

Unpacked Size

11.9 MB

Total Files

54

Last publish

Collaborators

  • rafaelstaib