i'm considering using Prisma as the DAL atop Mongo...
# orm-help
t
i'm considering using Prisma as the DAL atop MongoDB for a new company i've founded, and it generally looks extremely well done, but i'm having trouble figuring out how & where i'd handle authentication + authorization with the stack. Prisma pretty much autogenerates all of your resolvers and server logic for you. from my understanding, you can either then wrap the Prisma server / DAL with your own server that handles auth and is a go-between, but this seems excessive since most of what you're doing in that go-between server would just be acting as a direct proxy... is it possible / advisable to expose the prisma server directly to my web + mobile clients?
n
prisma server does not provide authentication
IMO it's not advisable to expose the prisma server publicly
t
thanks, nuno
seems kind of heavyweight to force another server as the ORM and then have to proxy most of the same APIs publicly with added auth
appreciate the help! 🙂