How to utilize Prisma defined in back-end to the front-end
Hello. I'm developing a project without NextJS, just using Vite TypeScript React. I've decided to use Prisma in my NodeJS backend.
I'm currently writing out components for React and it would be really handy to be able to use the types defined in my Prisma schema from the back-end in my front-end. Is there any way I can do this without creating a reference to my backend in my frontend? (Trying to maintain decoupled architecture)
0 Replies