Finish the Realm Web documentation
It would be nice if somebody could actually finish the Realm Web SDK documentation beyond just saying how to initialize your app and login. It's missing a lot of stuff like how to connect to your Database and perform various tasks. Also it would be good to know at what stage of development the SDKs are in with a update log or something.
Folks – the documentation has been completed. You can see it here – https://docs.mongodb.com/realm/web/mongodb/
If you have any further suggestions, please add them to our docs feedback widget on the docs itself.
-
Mishka Medvedev commented
Thanks for the helpful reply Nicholas, it's helped us to feel a lot more confident in taking realm web seriously and wanting to switch over to it. We were able to get it up and running by looking over the code for the web sdk and seeing how it works. The only comment I can make on what I'd like to see is an example of how to query for multiple documents from their document ID using an array of document IDs. I've seen this confuse a lot of people and it would be a nice simple addition.
-
Nicholas commented
Hi Mishka,
Thanks for the feedback! I apologize for the delay in getting out additional documentation for realm-web.
We're currently working on docs that cover accessing data in a linked MongoDB Atlas cluster using MongoDB queries instead of GraphQL, including code examples for various CRUD and aggregation tasks. If there are any specific tasks or use cases that you'd like to see examples for, please let me know!
One key thing to note is that Realm Database is not available for web browsers, so realm-web does not support realms or sync in any way. Instead, web apps connect to MongoDB Realm through the GraphQL API (which is currently documented) and the MongoDB Query Language API that I mentioned (currently working on docs for this).
RE: an update log, we're considering the best way to surface SDK and cloud changelogs in the documentation and hope to have a solution soon. In the meantime, you can check out the releases on the JS SDK GitHub repository: https://github.com/realm/realm-js/releases