{"id":15154442,"url":"https://github.com/olistic/hapi-mongoose-q","last_synced_at":"2026-01-20T18:56:06.110Z","repository":{"id":29158233,"uuid":"32688574","full_name":"olistic/hapi-mongoose-q","owner":"olistic","description":"Hapi plugin to connect to mongoDB using mongoose-q","archived":false,"fork":false,"pushed_at":"2015-03-22T22:06:42.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T14:39:11.578Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/olistic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-22T18:20:15.000Z","updated_at":"2015-04-06T14:11:49.000Z","dependencies_parsed_at":"2022-08-02T15:30:17.196Z","dependency_job_id":null,"html_url":"https://github.com/olistic/hapi-mongoose-q","commit_stats":null,"previous_names":["moliveraf/hapi-mongoose-q"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olistic%2Fhapi-mongoose-q","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olistic%2Fhapi-mongoose-q/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olistic%2Fhapi-mongoose-q/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olistic%2Fhapi-mongoose-q/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olistic","download_url":"https://codeload.github.com/olistic/hapi-mongoose-q/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648928,"owners_count":20972942,"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-09-26T17:23:45.640Z","updated_at":"2026-01-20T18:56:06.093Z","avatar_url":"https://github.com/olistic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hapi-Mongoose-Q\n\n[**Mongoose-Q**](https://github.com/iolo/mongoose-q) connector for [**hapi**](https://github.com/hapijs/hapi)\n\n## Description\n\nThis plugin provides the functionality to **connect and disconnect from a mongoDB database** using mongoose-q. It also **ensures that the connection is available** before calling `server.start()`.\n\n## Usage\n\n```javascript\nvar Hapi = require('hapi');\nvar server = new Hapi.Server();\n\nserver.connection({ port: 3000 });\n\nserver.register({\n  register: require('hapi-mongoose-q'),\n  options: {\n    mongoDbUri: 'mongodb://localhost'\n  }\n}, function(err) {\n  if (err) {\n    console.error(err);\n    throw err;\n  }\n});\n\nserver.start();\n```\n\n## Options\n\nThe following option must be passed when registering the plugin:\n- _'mongoDbUri'_ - a string representing the connection URI used to connect to a MongoDB database server.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folistic%2Fhapi-mongoose-q","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folistic%2Fhapi-mongoose-q","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folistic%2Fhapi-mongoose-q/lists"}