HACKER Q&A
📣 thinkingkong

Resources for organizing large prisma projects


We have a pretty big project right now based on Prisma. But the direct use of prisma everywhere has started to show its age. Theres no unified way to do validation, send a notification, other side-effects, etc. Prisma is still a little early on being able to augment the models. Computed fields barely work.

How are other folks organizing their projects to keep things sane?


  👤 soueuls Accepted Answer ✓
The correct way to do it is always pretty much the same.

Clean architecture / ports & adapters

You are supposed to put your database details behind interfaces