Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
trwrto
· 3y ago · 0 comments
Where should the business logic rather be? My tests are typically calling APIs to test the business logic. Trying to improve myself here.
Comments
[–]
philippta
3y ago
There aren‘t any hard rules here, but you can try to build your business logic as if it was a library, where your HTTP API is merely a interface to it.