Reputation: 85
I am developing an e-commerce application using Spring and AngularJS with handful experience in Spring while I am new to this AngularJS world. This application will have only web version but there will be mobile version after the deployment of web app.
Currently, I am designing my system and during my research I found some of sites including Spring Blog are suggesting to create separate client side and server side application for AngularJS and Spring respectively. As server side deployment takes time it will be advantage but the disadvantage is, it requires extra effort and time while maintaining both the project for the same application.
EDIT
Upvotes: 0
Views: 1295
Reputation: 427
Probably best way will be to separate backend and frontend applications. Backend should be exposed via REST service. That way you can connect various clients to your backend - frontend application, mobile application etc. Spring has a nice support for developing RESTful services. Of course you can use Spring Security.
Upvotes: 3