Skip to content

Add MongoDB Node Driver + DocumentDB Playground - #4

Merged
hossain-rayhan merged 2 commits into
documentdb:mainfrom
hossain-rayhan:rayhan/mongodb-node-playground
Jul 31, 2026
Merged

Add MongoDB Node Driver + DocumentDB Playground#4
hossain-rayhan merged 2 commits into
documentdb:mainfrom
hossain-rayhan:rayhan/mongodb-node-playground

Conversation

@hossain-rayhan

Copy link
Copy Markdown
Collaborator

Summary

  • Add a DocumentDB playground using the native MongoDB Node.js driver.
  • Provide an Express REST API with CRUD and genre aggregation endpoints.
  • Add compatibility coverage for CRUD, indexes, aggregation, unique constraints, and vector search.
  • Add scripts for DocumentDB lifecycle, app startup, and test execution.
  • Document setup, configuration, API usage, and compatibility notes.
  • Update the root README with the new playground.

Verification

  • ./scripts/run-test.sh: 16 passed, 0 failed
  • PORT=3101 ./scripts/run-app.sh: started successfully
  • /health: returned {"status":"healthy","db":"connected"}
  • Verified create, list, update, aggregation, and delete API flows
  • JavaScript and shell syntax checks passed

Signed-off-by: Rayhan Hossain <hossain.rayhan@outlook.com>
Comment thread playgrounds/mongodb-node/app/server.js Fixed
Comment thread playgrounds/mongodb-node/app/server.js Fixed
Comment thread playgrounds/mongodb-node/app/server.js Fixed
Comment thread playgrounds/mongodb-node/app/server.js Fixed
Comment thread playgrounds/mongodb-node/app/server.js Fixed
Comment thread playgrounds/mongodb-node/app/server.js Fixed
Comment thread playgrounds/mongodb-node/app/server.js Fixed
Signed-off-by: Rayhan Hossain <hossain.rayhan@outlook.com>
@hossain-rayhan
hossain-rayhan merged commit e0a0f48 into documentdb:main Jul 31, 2026
2 checks passed
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.

2 participants