Add basic api unit. This unit will be responsible for providing all stf restful apis.

This commit is contained in:
Vishal Banthia
2015-12-02 18:18:31 +09:00
parent 7ea7871ec0
commit 41f306a7f0
7 changed files with 172 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
module.exports = {
getCurrentUser: getCurrentUser
};
function getCurrentUser(req, res) {
res.json({
success: true
, user: {"name": "dummy"}
})
}