{"id":21725559,"url":"https://github.com/dunghenry/sinatra_mongodb","last_synced_at":"2026-04-19T10:34:42.190Z","repository":{"id":107273326,"uuid":"595868807","full_name":"dunghenry/sinatra_mongodb","owner":"dunghenry","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-03T02:06:22.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T22:51:22.622Z","etag":null,"topics":["mongodb","ruby","sinatra-applications"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/dunghenry.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-02-01T01:04:09.000Z","updated_at":"2023-02-01T02:44:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ea859eb-3f11-46c5-bfbf-054a52d85cba","html_url":"https://github.com/dunghenry/sinatra_mongodb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dunghenry/sinatra_mongodb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunghenry%2Fsinatra_mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunghenry%2Fsinatra_mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunghenry%2Fsinatra_mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunghenry%2Fsinatra_mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dunghenry","download_url":"https://codeload.github.com/dunghenry/sinatra_mongodb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunghenry%2Fsinatra_mongodb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32004041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["mongodb","ruby","sinatra-applications"],"created_at":"2024-11-26T03:19:10.744Z","updated_at":"2026-04-19T10:34:42.157Z","avatar_url":"https://github.com/dunghenry.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sinatra + MongoDB\n\n## Setup project\n\n### Config MongoDB local\n\n```js\ndevelopment:\n  clients:\n    default:\n      database: database_name\n      hosts:\n        - localhost:27017\n      options:\n        server_selection_timeout: 1\n```\n\n### Config MongoDB Atlas\n\n```js\ndevelopment:\n  clients:\n    default:\n      uri: mongodb+srv://username:passsword@yourcluster.mongodb.net/database_name?retryWrites=true\u0026w=majority\n      options:\n        server_selection_timeout: 5\n```\n\n### Start server\n\n```js\nruby main.rb\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdunghenry%2Fsinatra_mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdunghenry%2Fsinatra_mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdunghenry%2Fsinatra_mongodb/lists"}