falcor-postman

2.0.0 • Public • Published

falcor-postman

A graphical interactive in-browser Falcor queries validator IDE.

Usage

Npm install using the following command:

npm install --save falcor-postman

And use it inside your Express app:

const falcorPostman = require('falcor-postman');
 
const app = express();
 
const options = { middlewarePath: '/falcor-postman', falcorModelPath: '/model.json', app };
 
app.use(falcorPostman(options));

Where options is an object with the following properties:

name type description default
middlewarePath string Optional: path used to serve the falcor-postman app '/falcor-postman'
falcorModelPath string Optional: falcor model path '/model.json'
app object The instance of your Express.js app app

UI

falcor-postman UI

Query: [["metrosById", [201], ["name"]]]

Example

Clone or download this GitHub repository then run the example app using the following npm commands:

npm install

npm run start

You should be able to open your browser and see the middleware running at the following URL: http://127.0.0.1:3000/falcor-postman

Package Sidebar

Install

npm i falcor-postman

Weekly Downloads

3

Version

2.0.0

License

MIT

Last publish

Collaborators

  • mattiaerre
  • nickbalestra