Skip to content

DOCSP-61799: C Getting Started - #6

Open
tmcneil-mdb wants to merge 3 commits into
mainfrom
DOCSP-61799-C-Get-Started-Code
Open

DOCSP-61799: C Getting Started#6
tmcneil-mdb wants to merge 3 commits into
mainfrom
DOCSP-61799-C-Get-Started-Code

Conversation

@tmcneil-mdb

@tmcneil-mdb tmcneil-mdb commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Summary | JIRA

Adds the C Get Started sample application under c/hello-world, mirroring the existing node/hello-world sample. The app connects to a MongoDB deployment using the connection string in the MONGODB_URI environment variable, seeds a few sample product documents into the get_started.products collection, then queries and prints one of them.

c/hello-world/hello-world.cc— sample application
c/hello-world/CMakeLists.txt — targets the MongoDB C Driver (libmongoc) 2.0+
c/hello-world/README.md — setup and run instructions
c/hello-world/.gitignore — ignores build artifacts
-Added the C entry to the root README

This is the sample referenced by the C Get Started docs page link

@tmcneil-mdb tmcneil-mdb changed the title DOCSP-61799-Get-Started-C DOCSP-61799: Get Started C Jul 28, 2026
@tmcneil-mdb tmcneil-mdb changed the title DOCSP-61799: Get Started C DOCSP-61799: C Getting Started Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant