module.exports = {

}
@@ -1,21 +1,507 @@
-module.exports = %7B%0A%0A%7D
+var core = require('./core');%0Avar apiRoot = require('./config').apiRoot;%0Avar baseEndpoint = apiRoot + '/tips';%0A%0Amodule.exports = %7B%0A  all: function() %7B%0A    return core.get(baseEndpoint);%0A  %7D,%0A%0A  one: function(id) %7B%0A    return core.get(baseEndpoint + '/' + id);%0A  %7D,%0A%0A  create: function(tip) %7B%0A    return core.post(baseEndpoint, tip);%0A  %7D,%0A%0A  update: function(id, tip) %7B%0A    return core.put(baseEndpoint + '/' + id, tip);%0A  %7D,%0A%0A  destroy: function(id) %7B%0A    return core.delete(baseEndpoint + '/' + id);%0A  %7D%0A%7D%0A

Implement tip