TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Resources for organizing large prisma projects

3 pointsby thinkingkongover 2 years ago
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.<p>How are other folks organizing their projects to keep things sane?

1 comment

soueulsover 2 years ago
The correct way to do it is always pretty much the same.<p>Clean architecture &#x2F; ports &amp; adapters<p>You are supposed to put your database details behind interfaces