Service layers are often unnecessarily added to Web APIs. A service layer is only justified when orchestrating changes across multiple independent mutable systems (like a database and payment gateway). Most Web APIs write to a single database and read from multiple sources, making a service layer pure overhead. The one-to-one

8m watch time
10 Comments

Sort: