Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I write all my api code using a business logic “service” layer and a data ops “repository” layer.

The endpoints are by feature not entity, although most of the time they overlap.

This lets me move fast while keeping it simple to build the UI whether it’s mobile or web.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: