loopback/example/todos/app.js

8 lines
164 B
JavaScript
Raw Normal View History

2013-04-09 16:02:36 +00:00
var asteroid = require('../../');
var app = asteroid();
app.use(asteroid.configure());
app.use(asteroid.bodyParser());
2013-05-01 19:11:43 +00:00
app.use(asteroid.rest());
2013-04-09 16:02:36 +00:00
2013-04-10 18:26:06 +00:00
app.listen(3000);