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 for meta files related to MongoDB Get-Started development environments.
The MongoDB Get-Started project helps set up local development environments to run applications using official MongoDB drivers and MongoDB Cloud products
Each Get-Started repository includes:
- instructions on how to install prerequisites
- working code examples demonstrating some basic CRUD (Create/Retrieve/Update/Delete)
- links to relevant tutorials and documentation from MongoDB
- Docker v18.03+
- get-started-csharp
- get-started-cxx
- get-started-go
- get-started-java
- get-started-nodejs
- get-started-php
- get-started-ruby
- get-started-scala
- get-started-realm-web
See CONTRIBUTING.md for contributing guidelines.
If you're using the helper script get-started.sh
to start the container, then you could just modify the code in the checked out repo location with your preferred editor.
You can connect to a local mongod
from the get-started
Docker container by setting MONGODB_URI
to mongodb://host.docker.internal:27017/
. Please note that connecting to a replica-set members locally may require changes to the host DNS.
This software is not supported by MongoDB, Inc under any of their commercial support subscriptions or otherwise. Any usage is at your own risk.