Browse and test your LoopBack app's APIs
Go to file
Ritchie Martori d647586e0d Merge pull request #1 from strongloop/1.0.0
Initial explorer
2013-11-08 08:39:54 -08:00
example Initial explorer 2013-11-05 11:16:59 -08:00
public Initial explorer 2013-11-05 11:16:59 -08:00
test Initial explorer 2013-11-05 11:16:59 -08: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 Initial explorer 2013-11-05 11:16:59 -08:00
package.json Move supertest to dev deps 2013-11-05 11:28:29 -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);