Initial commit.

This commit is contained in:
Andreas Baldeau 2014-05-12 20:08:19 +02:00
commit 0335f5aa93
1168 changed files with 261999 additions and 0 deletions
server

11
server/router.js Normal file
View file

@ -0,0 +1,11 @@
'use strict';
angular.module('ffffng').factory('Router', function (app, NodeResource) {
return {
init: function () {
app.post('/api/node', NodeResource.create);
app.put('/api/node/:token', NodeResource.update);
app.get('/api/node/:token', NodeResource.get);
}
};
});