Page 1 of 1

Rest API endpoints as separate module

Posted: Thu Jan 22, 2015 5:08 am
by gowthamgutha
How about having Rest API endpoints as a separate module. Because, they are not much related to the site and they have their own levels of traffic compared to that of the site. Also, the security related aspects of endpoints might also differ. The machines on which they will be served on might have high configurations compared to that of the site. Because, REST endpoints are going to be used by a lot of third-parties.

Wouldn't it be better if REST API endpoints are treated as a separate module apart from site and admin, from a developer point of view?

Could you at least tell me how to modularize the site and admin modules as per my wish. It would be better if a tutorial is posted about sub-modularizing broadleaf commerce, (I am not talking about adding new broadleaf modules, but dividing the existing modules into separate parts, means wanting them to act as separate projects in the workspace).

Thanks in advance.

Re: Rest API endpoints as separate module

Posted: Mon Mar 02, 2015 7:02 am
by desmyath7
Wouldn't it be better if REST API endpoints are treated as a separate module apart from site and admin, from a developer point of view?