Adding Spring Data REST and using it to manage teammates
So far, this application has provided us with a nice API that creates and manages teammates. However, we haven't built any UI. We could start crafting a classic server-side solution by creating some templates that perform various CRUD operations. But a more modern solution would be to create a RESTful frontend that can be used to create an independent UI.
Why is is better to decouple the frontend from the backend? Let's find out:
- For starters, the frontend and backend can have different rates of change and different technology stacks, and can be supported by different pools of developer talent.
- Decoupling the frontend from the backend introduces the option to have a web frontend, an iOS frontend, ...