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.

tutorial on how this.

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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -