Search code examples
react-nativeauthenticationexpoprisma

React Native Database and ORM compatibility


I am planning to build a React Native app using expo and wanted to know how compatible would using Prisma be. I only have worked with mongoDb and I have not seen many people use it and wanted to switch to another db using Prisma but I saw it had compatibility issues in 2021 and not much results from then on.

I am fairly new to development and wanted to know what would be the best options/ libraries to-

  • Have both one time payment and monthly payment.
  • Have a real time chat system.
  • Login Auth.
  • Book an appointment using a calendrer system.

Solution

  • You can use prisma as ORM for your backend, but you cannot run prisma on the client unfortunately. There is a feature request for it

    This might be critical if you are going to build an app that fully or partially works offline. If it't the case I can recommend going for Type ORM It is fully written in TS and can work with react native and SQLite.