This repository is deprecated and no longer actively maintained. It contains outdated code examples or practices that do not align with current MongoDB best practices. While the repository remains accessible for reference purposes, we strongly discourage its use in production environments. Users should be aware that this repository will not receive any further updates, bug fixes, or security patches. This code may expose you to security vulnerabilities, compatibility issues with current MongoDB versions, and potential performance problems. Any implementation based on this repository is at the user's own risk. For up-to-date resources, please refer to the MongoDB Developer Center.
Repository to help getting started with MongoDB Realm Web connecting to MongoDB Atlas.
This Get-Started project uses MongoDB Realm Web.
Have Docker running on your machine. You can download and install from: https://docs.docker.com/install/
In order to execute the code example, you need to have:
- MongoDB Atlas cluster
- Create a MongoDB Atlas Programmatic API. You would create a
Project Owner
permission, see also Add an API key to your Atlas Project for steps on how to get Public and Private keys.
If you don't have an existing cluster, you can create one by signing up MongoDB Atlas Free-tier M0.
- Execute the helper shell setup script by providing the PUBLIC and PRIVATE programmatic API keys:
./get-setup.sh <PUBLIC_KEY> <PRIVATE_KEY>
- Execute the helper shell starter script by providing the Realm application ID. The output from
get-setup.sh
helper script should inform you the name of the newly created Realm application.
./get-started.sh <REALM_APP_ID>
Once successful, you should be able to access the web application from a browser via localhost:3000
This project is part of the MongoDB Get-Started code examples. Please see get-started-readme for more information.
This software is not supported by MongoDB, Inc under any of their commercial support subscriptions or otherwise. Any usage is at your own risk.