{"id":19789571,"url":"https://github.com/webfreak001/mongostore","last_synced_at":"2026-01-30T02:00:55.810Z","repository":{"id":146627953,"uuid":"45302364","full_name":"WebFreak001/MongoStore","owner":"WebFreak001","description":"vibe.d component for storing sessions in MongoDB","archived":false,"fork":false,"pushed_at":"2017-07-11T07:30:48.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-11T04:13:16.692Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebFreak001.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-31T13:17:43.000Z","updated_at":"2017-10-20T01:48:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff17d5b8-dac8-4335-af80-b1ba9ebc9a91","html_url":"https://github.com/WebFreak001/MongoStore","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2FMongoStore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2FMongoStore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2FMongoStore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2FMongoStore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebFreak001","download_url":"https://codeload.github.com/WebFreak001/MongoStore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241126669,"owners_count":19914057,"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-12T06:33:56.814Z","updated_at":"2026-01-30T02:00:55.756Z","avatar_url":"https://github.com/WebFreak001.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MongoStore\nSessionStore for MongoDB\n\n## Usage\n\n```d\nauto database = connectMongoDB(\"localhost\").getDatabase(\"database\");\n\nauto settings = new HTTPServerSettings;\nsettings.sessionStore = new MongoSessionStore(database);\n\n// In request:\n\nauto session = req.session ? req.session : res.startSession();\nsession.set(\"user\", Bson([\"username\": Bson(\"foo\"), \"email\": Bson(\"bar@example.com\")]));\nlogInfo(\"%s\", session.get!Bson(\"user\")); // [username: \"foo\", email: \"bar@example.com\"]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebfreak001%2Fmongostore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebfreak001%2Fmongostore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebfreak001%2Fmongostore/lists"}