{"id":16319033,"url":"https://github.com/sqlwwx/loopback-connector-notify","last_synced_at":"2025-08-09T05:23:39.448Z","repository":{"id":75708583,"uuid":"59728504","full_name":"sqlwwx/loopback-connector-notify","owner":"sqlwwx","description":null,"archived":false,"fork":false,"pushed_at":"2016-05-26T07:13:50.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T22:43:48.035Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sqlwwx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-26T07:13:30.000Z","updated_at":"2016-05-26T07:13:50.000Z","dependencies_parsed_at":"2023-06-07T10:30:57.739Z","dependency_job_id":null,"html_url":"https://github.com/sqlwwx/loopback-connector-notify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlwwx%2Floopback-connector-notify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlwwx%2Floopback-connector-notify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlwwx%2Floopback-connector-notify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlwwx%2Floopback-connector-notify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sqlwwx","download_url":"https://codeload.github.com/sqlwwx/loopback-connector-notify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254044686,"owners_count":22005214,"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-10-10T22:25:31.590Z","updated_at":"2025-05-14T00:12:55.738Z","avatar_url":"https://github.com/sqlwwx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# loopback-connector-mongodb\n\nThe official MongoDB connector for the LoopBack framework.\n\nPlease see the full documentation at [docs.strongloop.com](http://docs.strongloop.com/display/LB/MongoDB+connector).\n\n## Customizing MongoDB configuration for tests/examples\n\nBy default, examples and tests from this module assume there is a MongoDB server\ninstance running on localhost at port 27017.\n\nTo customize the settings, you can drop in a `.loopbackrc` file to the root directory\nof the project or the home folder.\n\n**Note**: Tests and examples in this project configure the data source using the deprecated '.loopbackrc' file method,\nwhich is not suppored in general.\nFor information on configuring the connector in a LoopBack application, please refer to [LoopBack documentation](http://docs.strongloop.com/display/LB/MongoDB+connector).\n\nThe .loopbackrc file is in JSON format, for example:\n\n    {\n        \"dev\": {\n            \"mongodb\": {\n                \"host\": \"127.0.0.1\",\n                \"database\": \"test\",\n                \"username\": \"youruser\",\n                \"password\": \"yourpass\",\n                \"port\": 27017\n            }\n        },\n        \"test\": {\n            \"mongodb\": {\n                \"host\": \"127.0.0.1\",\n                \"database\": \"test\",\n                \"username\": \"youruser\",\n                \"password\": \"yourpass\",\n                \"port\": 27017\n            }\n        }\n    }\n\n**Note**: username/password is only required if the MongoDB server has\nauthentication enabled.\n\n###Additional Settings\n\nallowExtendedOperators - ```false``` by default, ```true``` allows to use mongo operators like\n```$currentDate, $inc, $max, $min, $mul, $rename, $setOnInsert, $set, $unset, $addToSet,\n$pop, $pullAll, $pull, $pushAll, $push,  $bit ```.\n\n\nenableGeoIndexing - ```false``` by default, ```true``` enables 2dsphere indexing for model properties\nof type ```GeoPoint```. This allows for indexed ```near``` queries etc.\n\n## Running tests\n\nThe tests in this repository are mainly integration tests, meaning you will need\nto run them using our preconfigured test server.\n\n1. Ask a core developer for instructions on how to set up test server\n   credentials on your machine\n2. `npm test`\n\n## Running benchmarks\n\n**Benchmarks must be run on a Unix-like operating system.**\n\n```\nmake benchmarks\n```\n\nThe results will be output in `./benchmarks/results.md`.\n\n## Leak detection\n\nTests run for 100 iterations by default, but can be increased by setting the\nenv var `ITERATIONS`.\n\n```\nmake leak-detection # run 100 iterations (default)\n```\n\nor\n\n```\nITERATIONS=1000 make leak-detection # run 1000 iterations\n```\n\n## Release notes\n\n  * 1.1.7 - Do not return MongoDB-specific _id to client API, except if specifically specified in the model definition\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlwwx%2Floopback-connector-notify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsqlwwx%2Floopback-connector-notify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlwwx%2Floopback-connector-notify/lists"}