- npm install && ./node_modules/bower/bin/bower install
- npm start
/user/auth (post) - in: username, password - out: auth_token
/user/register (post) TBD
/place/:id/rent (post)
- get place with :id, verify it is not occupied
- change its status to occupied
- create a record into leases collection with ownerid, pickerid, placeid
- return result
/place/:id/rent/cancel (post)
/place/list (get)
/place/lease (post)
/place/lease/cancel (post)
{ "status": "success", data: ... }
{ "status": "fail", "error": { "code": 123, // Define codes "message": "Error" } }