Add the C, CPP, JavaRS, KotlinC, KotlinSync, PHP, Ruby Getting Started Code - #3
Open
tmcneil-mdb wants to merge 2 commits into
Open
Add the C, CPP, JavaRS, KotlinC, KotlinSync, PHP, Ruby Getting Started Code#3tmcneil-mdb wants to merge 2 commits into
tmcneil-mdb wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds the remaining six Get Started sample applications — C, C++, Java Reactive
Streams, Kotlin Coroutines, Kotlin Sync, PHP, and Ruby — mirroring the existing
go/hello-world,node/hello-world,python/hello-world,dotnet/hello-world,and
java/hello-worldsamples. Each app connects to a MongoDB deployment usingthe connection string in the
MONGODB_URIenvironment variable, seeds a fewsample product documents into the
get_started.productscollection, thenqueries and prints one of them.
c/hello-world/— sample app, CMake build (mongoc2.0), README,.gitignorecpp/hello-world/— sample app, CMake build (mongocxx4.0), README,.gitignorejava-rs/hello-world/— sample app, Maven build (mongodb-driver-reactivestreamsviamongodb-driver-bom5.9.1, Project Reactor 2025.0.0, Java 21), README,.gitignorekotlin-coroutine/hello-world/— sample app, Maven build (mongodb-driver-kotlin-coroutine5.9.1, Kotlin 2.1.0), README,.gitignorekotlin-sync/hello-world/— sample app, Maven build (mongodb-driver-kotlin-sync5.9.1, Kotlin 2.1.0), README,.gitignorephp/hello-world/— sample app, Composer manifest (mongodb/mongodb2.0,ext-mongodb2.0), README,.gitignoreruby/hello-world/— sample app, Gemfile (mongo2.0), README,.gitignoreand Ruby entries to the root README
This supersedes the following PRs, which targeted the wrong repository:
README changes
powershellconventionestablished by
python/hello-world/README.mdWindows, and omitted Windows commands there.
Testing
All seven samples were run end to end on macOS by following the documented
setup steps in each README, connecting to an Atlas deployment and confirming
the expected product document was printed.
JIRA