Browse and test your LoopBack app's APIs
Go to file
Miroslav Bajtos 1ca2d2ccad Reorder middleware to fix unit-test failures.
LoopBack REST adapter owns the whole URL space and does not let other
middleware handle same URLs. It's possible to circumvent this measure
by installing the explorer middleware before the REST middleware.
2013-12-09 11:44:46 +01:00
example Initial explorer 2013-11-05 11:16:59 -08:00
public Support custom basePath 2013-11-29 16:26:16 +01:00
test Reorder middleware to fix unit-test failures. 2013-12-09 11:44:46 +01:00
.gitignore Initial commit 2013-11-05 09:59:05 -08:00
LICENSE Initial commit 2013-11-05 09:59:05 -08:00
README.md Readme updates 2013-11-05 11:24:48 -08:00
index.js Support custom basePath 2013-11-29 16:26:16 +01:00
package.json Bump version 2013-12-04 07:20:05 -08:00

README.md

loopback-explorer

Browse and test your LoopBack app's APIs.

Basic Usage

Below is a simple LoopBack application. The explorer is mounted at /explorer.

var loopback = require('loopback');
var app = loopback();
var explorer = require('loopback-explorer');

var Product = loopback.Model.extend('product');
Product.attachTo(loopback.memory());
app.model(Product);

app.use(loopback.rest());
app.use('/explorer', explorer(app));

app.listen(3000);