Max Runia
01/29/2022, 7:15 PMapps/**
, and have it's own prisma/schema.prisma
file, since the services will be backend by their own postgres dbs.
For example:
apps/
service1/
src/
...
prisma/
schema.prisma
service2/
src/
...
prisma/
schema.prisma
libs/
...
Has anyone done a setup like this using Nx + Prisma? Are there any gotchas that I'm not foreseeing?Eddy Nguyen
01/29/2022, 10:44 PMapps/
service1/
service1-crons/
service2/
service2-crons/
libs/
service1-prisma/
src/
prisma/
schema.prisma
service2-prisma/
src/
prisma/
schema.prisma
If you don’t foresee a scenario where Prisma clients need to be shared between apps, then I think your current approach should work well 😄Max Runia
01/31/2022, 4:18 PMEddy Nguyen
02/01/2022, 7:11 AMMax Runia
02/01/2022, 6:01 PM