Open dipenjoshi opened 3 years ago
exports.CreateShopifyUser = function(req, res, next) { //Call shopifyapi.getUser to get email, owner name ... whatever is needed for the user object var user = new User{ ... } // Create wallet address and tokens. user.save(user => { return user //should inlcude wallet address, token amount etc. }) }
Assist frontend with the data/api they need to fetch dynamic data instead of static. May or may not include BC call