- Couchbase
- Node 4.3.1 or greater than
-
/user/create - [POST]
-
Expected input JSON Data
{ "email":"fakeemail@test.com", "firstName":"tester", "lastName":"super" }
-
Expected Response
{ "code": 200, "data": { "user": { "created": true } } }
process.env.SECRET
process.env.SALT
process.env.PORT
process.env.COUCHBASE_URI
process.env.COUCHBASE_BUCKET
process.env.PASSWORD
npm install && gulp && npm start
helpers.chain = async (_functions) => {
let _this = null;
let result = null;
for (let i = 0; i < _functions.length; i++) {
let _function = _functions[i];
result = _this ? await _this[_function]() : await _function();
_this = result;
};
return result;
};
Peter A.Tariche
pub 4096R/20B2284C 2016-04-29 [expires: 2017-04-29]
uid [ultimate] Peter A. Tariche <ptariche@gmail.com>