Could you access the Prisma client on the frontend - without revealing any environment variables? This talk goes into my experimentation with Object proxies and websockets, allowing a developer to access server-side objects on the client, with type-safety.
I'll walk through how the proxying works, the type-safety features, and everything else which makes the library works. http://rocketrpc.com
Use Cases:
Define a type-safe API layer on the backend
Share objects like ORM clients with the frontend
Slides - https://docs.google.com/presentation/d/1_xc5f3ySrXpiLVQDZjG2lfZHRKbg9cN228MyQN_1h8I/edit?usp=sharing
Get in touch!
hi@guild.host