Hi All, has anyone used Prisma with FeathersJS? If yes, does anybody have a good reference (tutorial/blog etc.) that I can use?
j
Jo
08/11/2019, 6:43 PM
Why would you want to use yet another api layer on top of prisma api layer? I think I might be missing something. Or are you trying to not use prisma api?
d
Devashish Sethia
08/12/2019, 4:37 PM
Hey Jo, I really like the FeathersJs Framework (especially the entire hooks approach) and want to use Prisma as an ORM which they mention in the documentation - "Prisma is a great fit for building REST& gRPC APIs where it can be used in place of traditional ORMs. It provides many benefits such as type-safety, a modern API and flexible ways for reading and writing relational data."
j
Jo
08/12/2019, 4:49 PM
Gotcha. So prisma as orm and feather as api?
Jo
08/12/2019, 4:51 PM
@Harshit is there a light version of prisma just for orm? I cant imagine someone installing the whole prisma stuff just to only use its orm
h
Harshit
08/12/2019, 4:53 PM
Yes, basically you can use standalone ORM part of Prisma via introspection. That way you don't need to manage migrations via Prisma.
Also, possible in prisma 1, just use --no-migrate when with prisma deploy