Given a layered architecture consisting of
- presentation layer
- business logic layer
- data (access) layer
and a SPA web application communicating through REST endpoints with the backend (eg Angular and Spring), what would the presentation layer in such an application consist of? Would it only contain the stuff related to Angular? If so, what layer do the Spring rest controllers belong to?
When browsing the web, I realised that there seems to be some kind of ambiguity related to this topic. In most cases, the "presentation layer" is referred to as presentation in terms of visual presentation only, ie UI, which makes sense (at least somehow). In that case, the rest endpoints would belong to the business logic layer, which seems odd to me.
Maybe somebody can clear up my confusion.