{"id":18717425,"url":"https://github.com/js-data/js-data-mongodb","last_synced_at":"2025-04-12T13:32:24.528Z","repository":{"id":26909401,"uuid":"30371238","full_name":"js-data/js-data-mongodb","owner":"js-data","description":"MongoDB adapter for js-data. Main Site: http://js-data.io, API Reference Docs: http://api.js-data.io","archived":false,"fork":false,"pushed_at":"2020-02-09T20:45:22.000Z","size":1098,"stargazers_count":10,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T13:54:15.421Z","etag":null,"topics":["mongodb","nodejs","orm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/js-data.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-05T18:31:17.000Z","updated_at":"2019-11-01T14:47:32.000Z","dependencies_parsed_at":"2022-08-31T08:23:02.065Z","dependency_job_id":null,"html_url":"https://github.com/js-data/js-data-mongodb","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-data%2Fjs-data-mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-data%2Fjs-data-mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-data%2Fjs-data-mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-data%2Fjs-data-mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/js-data","download_url":"https://codeload.github.com/js-data/js-data-mongodb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248573519,"owners_count":21126849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mongodb","nodejs","orm"],"created_at":"2024-11-07T13:16:12.417Z","updated_at":"2025-04-12T13:32:24.197Z","avatar_url":"https://github.com/js-data.png","language":"JavaScript","readme":"\n\u003cimg src=\"https://raw.githubusercontent.com/js-data/js-data/master/js-data.png\" alt=\"js-data logo\" title=\"js-data\" align=\"right\" width=\"96\" height=\"96\" /\u003e\n\n# js-data-mongodb\n\n[![Slack][1]][2]\n[![NPM][3]][4]\n[![Tests][5]][6]\n[![Downloads][7]][8]\n[![Coverage][9]][10]\n\nA MongoDB adapter for the [JSData Node.js ORM][11].\n\n### Installation\n\n    npm install --save js-data@3 js-data-mongodb@2 mongodb@3 bson@3\n\n### Usage\n\n```js\nimport { MongoDBAdapter } from 'js-data-mongodb';\n\n// Create an instance of MongoDBAdapter\nconst adapter = new MongoDBAdapter({\n  uri: 'mongodb://localhost:27017'\n});\n\n// Other JSData setup hidden\n\n// Register the adapter instance\nstore.registerAdapter('mongodb', adapter, { default: true });\n```\n\n### JSData + MongoDB Tutorial\n\nStart with the [JSData + MongoDB tutorial][12] or checkout the [API Reference Documentation][13].\n\n### Need help?\n\nPlease [post a question][14] on Stack Overflow. **This is the preferred method.**\n\nYou can also chat with folks on the [Slack Channel][15]. If you end up getting\nyour question answered, please still consider consider posting your question to\nStack Overflow (then possibly answering it yourself). Thanks!\n\n### Want to contribute?\n\nAwesome! You can get started over at the [Contributing guide][16].\n\nThank you!\n\n### License\n\n[The MIT License (MIT)][17]\n\nCopyright (c) 2014-2017 [js-data-mongodb project authors][18]\n\n[1]: http://slack.js-data.io/badge.svg\n[2]: http://slack.js-data.io\n[3]: https://img.shields.io/npm/v/js-data-mongodb.svg?style=flat\n[4]: https://www.npmjs.org/package/js-data-mongodb\n[5]: https://img.shields.io/circleci/project/js-data/js-data-mongodb.svg?style=flat\n[6]: https://circleci.com/gh/js-data/js-data-mongodb\n[7]: https://img.shields.io/npm/dm/js-data-mongodb.svg?style=flat\n[8]: https://www.npmjs.org/package/js-data-mongodb\n[9]: https://img.shields.io/codecov/c/github/js-data/js-data-mongodb.svg?style=flat\n[10]: https://codecov.io/github/js-data/js-data-mongodb\n[11]: http://www.js-data.io/\n[12]: http://www.js-data.io/docs/js-data-mongodb\n[13]: http://api.js-data.io/js-data-mongodb\n[14]: http://stackoverflow.com/questions/tagged/jsdata\n[15]: http://slack.js-data.io/\n[16]: https://github.com/js-data/js-data-mongodb/blob/master/.github/CONTRIBUTING.md\n[17]: https://github.com/js-data/js-data-mongodb/blob/master/LICENSE\n[18]: https://github.com/js-data/js-data-mongodb/blob/master/AUTHORS\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjs-data%2Fjs-data-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjs-data%2Fjs-data-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjs-data%2Fjs-data-mongodb/lists"}