Best practice for deploying angular 2 with spring backend -
i new angular 2 , develop project using spring backend , angular 2 front end. question best practice develop such project ? putting them on same server or different servers. there limited guidelines on web subject. if points me in right direction glad..
usually you'd host angular app within cdn, host cdn.
one example of hosting compiled site through s3, using route 53 host site itself.
the tougher part java application itself. there's multiple options out there, depends on how application built, require servlet container, etc.
but basically, want static site hosting statically, not part of java code. helps clean separation of duties, , provides performance improvements. need figure out how host actual java application.
Comments
Post a Comment