Question

Can I store data in a Realm database while using Strapi headless CMS?

Posted October 8, 2020 156 views
MongoDBDatabases

Anyone who knows if I can store data in a Realm database while using Strapi (Strapi.io)?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi @asterixzzz,

Yes this seems to be doable according to the documetnation here:

https://strapi.io/documentation/3.0.0-beta.x/guides/databases.html#mongodb-installation

You can follow the steps here on how to install MongoDB on your server:

https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-18-04

Regards,
Bobby

by Mateusz Papiernik
The author selected the Creative Commons Corporation to receive a $100 donation as part of the Write for DOnations program.
  • Yes thank you. I saw that before, but all though it supports Mongo (It currently supports PostgreSQL, MongoDB, SQLite, MySQL and MariaDB), I don’t know if it’s possible to use Realm with Strapi (via Mongo Cloud or?). Realm and MongoDB not exactly the same. I’m a bit confused on how to set that up…

    • I am really interested in it if you achieved this.

      I am thinking as well to create a project with Strapi for easily set up API and manage content and at the same time using realm for sync data with different mobile (the idea is to use realm Mongo to auto-sync everything)

Submit an Answer