2.0.0 • Published 7 years ago
falcor-postman v2.0.0
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
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
2.0.0
7 years ago
1.2.0
7 years ago
1.0.1
7 years ago
1.0.0-rc.4
7 years ago
1.0.0-rc.3
7 years ago
1.0.0-rc.2
7 years ago
1.0.0-rc.1
7 years ago
1.0.0-beta.2
7 years ago
1.0.0-beta.1
7 years ago
1.0.0-alpha.2
7 years ago