How to use SimplCommerce in mobile app
Hi,
I want to use SimplCommece solution in mobile app.
Since the controllers are part of class libraries, is there any solution to access those controllers through webhost, as they are not accessible as API?
e.g. If i want to use Register API from AccountController, it is not accessible as it exists in class library.
It will be good to have your own Authentication Service for your mobile app. You can use JWT and validate it in SimplCommerce I guess
Would need to modify modules to expose the MVC Actions as WebAPI actions to return Json. That shouldn't take much to do since the code is already there. Similar to how the admin section is done with AngularJS.
Could build an SPA application that way,
Also would need to authenticate the app as @selombanybah has mentioned.
http://docs.simplcommerce.com/en/latest/token-authentication
I think the better thing is to use a headless architecture (decouple the front end (ui) and thefront end (business)). https://en.wikipedia.org/wiki/Headless_software
http://docs.simplcommerce.com/en/latest/token-authentication
broken link please assist