kgtrey1
kgtrey1
PPrisma
Created by kgtrey1 on 7/3/2024 in #help-and-questions
how to import prisma client on a client without compromising credentials
Hello, I would like to build an app using a monorepo. Since my backend will be using nestjs and my application react native. I would love to use prisma as an ORM to define my entities and reuse the types in both my nestjs and rn applications. While it’s not a concern importing prisma client on my backend, I’m afraid that doing so on react native may lead to credentials leaks Is there a way to get the types and the types only on my rn app?
10 replies