Rift.IO OSM R1 Initial Submission
[osm/UI.git] / skyquake / plugins / helloworld / routes.js
diff --git a/skyquake/plugins/helloworld/routes.js b/skyquake/plugins/helloworld/routes.js
new file mode 100644 (file)
index 0000000..cc48f2f
--- /dev/null
@@ -0,0 +1,15 @@
+var router = require('express').Router();
+
+router.get('/api/', function(req, res) {
+       res.send({
+               'bar': 'foods'
+       });
+});
+
+router.get('/bar/', function(req, res) {
+       res.send({
+               'bar': 'foo'
+       });
+});
+
+module.exports = router;
\ No newline at end of file