{"id":21844343,"url":"https://github.com/nbbeeken/mdbjs","last_synced_at":"2025-03-21T16:21:37.511Z","repository":{"id":186810720,"uuid":"610482298","full_name":"nbbeeken/mdbjs","owner":"nbbeeken","description":"mdb.js","archived":false,"fork":false,"pushed_at":"2023-08-23T18:35:50.000Z","size":40243,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T11:42:19.925Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nbbeeken.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-06T21:31:03.000Z","updated_at":"2023-03-06T21:36:24.000Z","dependencies_parsed_at":"2025-01-26T11:42:02.496Z","dependency_job_id":"01914d65-4df8-4e9a-b822-32735ab73b41","html_url":"https://github.com/nbbeeken/mdbjs","commit_stats":null,"previous_names":["nbbeeken/mdbjs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbbeeken%2Fmdbjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbbeeken%2Fmdbjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbbeeken%2Fmdbjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbbeeken%2Fmdbjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nbbeeken","download_url":"https://codeload.github.com/nbbeeken/mdbjs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244825663,"owners_count":20516593,"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":[],"created_at":"2024-11-27T22:19:14.986Z","updated_at":"2025-03-21T16:21:37.471Z","avatar_url":"https://github.com/nbbeeken.png","language":"TypeScript","readme":"# MongoDB Driver in the browser\nNode driver with polyfills for compatibility in browser\n\nHow to run locally using mms and go backend:  \n* Start the backend  \n* Add package to mms/client (2 ways):  \n  * (1) npm package  (wip: package is not built)\n    * Run \"npm i git+ssh://git@github.com:laurelxiang/mdbjs.git --save\" in mms/client  \n    * Make changes to backend such that this package is called instead of native node driver\n(depending on the way your github is configured the path may be different)  \n    * Replace instances of \"import { MongoClient } from 'mongodb'\" to \"import { MongoClient } from 'mdbjs'\"\n(for now only in mms/client/js/project/metrics/services/dataExplorerService.ts)  \n  * (2) npm link  \n    * Fork and clone this repo on your local device\n    * Run \"npm link\" at the root of mdbjs\n    * Run \"npm link mdbjs\" at mms/client\n    * Run \"npm run build\" at the root of mdbjs  \n* Start mms (click [here](https://wiki.corp.mongodb.com/display/MMS/Cloud+Developer+Setup#CloudDeveloperSetup-BuildandruntheMMSapplication) for instructions)\n\nHow to run tests locally:  \n* Fork and clone this repo on your local device\n* Run \"npm run test\" at the root of mdbjs  \n* Add \"-- --inspect-brk\" to package.json\\[scripts]\\[test] to use chrome debugger for tests\n\nRunning npm run test will also build the package as well  \n\nNotes:\nIn test, the mongo client is imported from dist, so any updates to the repo will require a build before testing.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbbeeken%2Fmdbjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnbbeeken%2Fmdbjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbbeeken%2Fmdbjs/lists"}