MongoDB with Realm, an upgrade from Stitch

Daniel Kioko
TheCodr
Published in
2 min readJun 12, 2020
Photo by imgix on Unsplash

MongoDB is getting the upgrade some of us wished for but never expected. MongoDB Realm is a server-less app backend works to simplify data access and security without the need for boilerplates, much like Stitch, but Realm supports more data types and features.

MongoDB Inc. made it clear in their debut that they won’t change on how Realm works, but will instead improve it.

Realm won’t change to become a JSON database, but it will be compatible with new data types like Dictionaries, Sets, Mixed/Any data types and more database functions that will make developing for different platforms much easier.

Empty dictionary written in Swift

They’ve also introduced ‘universal’ sync solutions for all platforms which will make backups much easy, especially for app users who might shift from one mobile operating system to another.

Even though a lot might feel the same as Stitch, Realm has brought a number of objectives:

  • It brings together mobile clients, backend APIs, and databases to sustain the same schema of objects and endpoints.
  • It can better handle unpredictable occurrences like when a device shuts down or loses it’s connection
  • It has better tracking on security vulnerabilities

There’s quite a lot more that was mentioned on their debut, and the documentation better explains why they will be using Realm in place of Stitch.

This definitely feels like a step-up for MongoDB and I personally can’t wait to get my hands-on the first project I’ll build with Realm.

Let me know your thoughts in comment section.

Happy Coding! 🌟

--

--