shopxlabs / SHOPX_TCPeNFT_depricated

Ethereum contracts for Spl.yt Core Protocol
MIT License
1 stars 2 forks source link

[Backend] Swap static data elements with dynamic (assist in fetching data from backend) #13

Open dipenjoshi opened 3 years ago

dipenjoshi commented 3 years ago

Assist frontend with the data/api they need to fetch dynamic data instead of static. May or may not include BC call

dipenjoshi commented 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. }) }