{"id":18691045,"url":"https://github.com/ffissore/connect-orientdb","last_synced_at":"2025-04-12T06:18:35.552Z","repository":{"id":3419821,"uuid":"4470951","full_name":"ffissore/connect-orientdb","owner":"ffissore","description":"OrientDB session store for Connect.","archived":false,"fork":false,"pushed_at":"2013-06-25T20:50:18.000Z","size":133,"stargazers_count":10,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T01:41:25.471Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","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/ffissore.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}},"created_at":"2012-05-28T13:46:39.000Z","updated_at":"2018-10-29T09:56:53.000Z","dependencies_parsed_at":"2022-09-26T16:21:34.266Z","dependency_job_id":null,"html_url":"https://github.com/ffissore/connect-orientdb","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffissore%2Fconnect-orientdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffissore%2Fconnect-orientdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffissore%2Fconnect-orientdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffissore%2Fconnect-orientdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ffissore","download_url":"https://codeload.github.com/ffissore/connect-orientdb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248223828,"owners_count":21068069,"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-07T10:53:02.518Z","updated_at":"2025-04-12T06:18:35.514Z","avatar_url":"https://github.com/ffissore.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# connect-orientdb\n\n  [OrientDB](https://code.google.com/p/orient/) session store for Connect (or Connect based, like Express)  \n  Code is a CoffeeScript port to OrientDB from [connect-mongo](https://github.com/kcbanner/connect-mongo)\n\n## Installation\n\nvia npm:\n\n    $ npm install connect-orientdb\n\n## Options\n\n  - `server.host` OrientDB server hostname (optional, default: \"localhost\")\n  - `server.port` OrientDB server port (optional, default: 2424)\n  - `db.user_name` username (optional, default: \"admin\")\n  - `db.user_password` password (optional, default: \"admin\")\n  - `database` Database name (optional, default: \"sessions\")\n  - `class_name` Class name of the session document (optional, default: \"Session\")\n\nThe second parameter to the `OrientDBStore` constructor is a callback which will be called once the database connection is established.\nThis is mainly used for the tests, however you can use this callback if you want to wait until the store has connected before\nstarting your app.\n\n## Example\n\nWith express:\n\n    var express = require('express');\n    var OrientDBStore = require('connect-orientdb')(express);\n\n    var settings = {\n        server: {\n            host: \"localhost\",\n            port: 2424\n        },\n        db: {\n            user_name: \"admin\",\n            user_password: \"admin\"\n        },\n        database: \"sessions\",\n        class_name: \"Session\"\n    };\n\n    app.use(express.session({\n        secret: settings.cookie_secret,\n        store: new OrientDBStore(settings)\n      }));\n\nWith connect:\n\n    var connect = require('connect');\n    var OrientDBStore = require('connect-orientdb')(connect);\n\n\n## Tests\n\nconnect-orientdb uses `mocha`. Install the dependencies with\n\n    npm install -d\n    \nthen run the tests with\n\n    npm test\n\nThe tests expects to find an in memory database called `temp`.\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 Federico Fissore \u0026lt;federico^AT_fissore.org\u0026gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffissore%2Fconnect-orientdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fffissore%2Fconnect-orientdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffissore%2Fconnect-orientdb/lists"}