{"id":15957137,"url":"https://github.com/mamantoha/deployerb","last_synced_at":"2026-02-23T23:03:03.782Z","repository":{"id":20708180,"uuid":"23992064","full_name":"mamantoha/deployerb","owner":"mamantoha","description":"a toolkit for building realtime RESTful APIs with MongoDB","archived":false,"fork":false,"pushed_at":"2024-04-11T08:36:15.000Z","size":968,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-14T21:52:43.184Z","etag":null,"topics":["mongo","mongodb","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/mamantoha.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":"2014-09-13T10:52:55.000Z","updated_at":"2024-05-14T09:30:34.781Z","dependencies_parsed_at":"2023-02-10T17:45:33.118Z","dependency_job_id":"f1184814-f115-4c19-9a40-109c61018cd2","html_url":"https://github.com/mamantoha/deployerb","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/mamantoha%2Fdeployerb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamantoha%2Fdeployerb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamantoha%2Fdeployerb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamantoha%2Fdeployerb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mamantoha","download_url":"https://codeload.github.com/mamantoha/deployerb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246290581,"owners_count":20753724,"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":["mongo","mongodb","ruby"],"created_at":"2024-10-07T13:40:40.299Z","updated_at":"2025-10-31T05:38:35.371Z","avatar_url":"https://github.com/mamantoha.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deployerb\n\n## Installation\n\n* Install MongoDB\n* Install Ruby\n* Install Node.js\n\n### Clone Deployerb from GiHub\n\n```console\ngit clone https://github.com/mamantoha/deployerb.git\ncd deployerb\n```\n\n### Install Ruby dependencies\n\n```console\ncd ./backend\nbundle install\n```\n\n### Install Yarn dependencies\n\n```console\ncd ./frontend\nnpm install\n```\n\n### Development\n\n```console\ncd ./backend\nbundle exec rackup\n```\n\n```console\ncd ./frontend\n\ncp node_modules/highlight.js/styles/github.min.css public/hljs-themes\ncp node_modules/highlight.js/styles/github-dark.min.css public/hljs-themes\n\nnpm run dev\n```\n\n## Production\n\n### Build the Vue 3 Frontend\n\n```\ncd ./frontend\nnpm install\nnpm run build\ncp -r dist/* ../backend/public\n\ncp node_modules/highlight.js/styles/github.min.css ../backend/public/hljs-themes\ncp node_modules/highlight.js/styles/github-dark.min.css ../backend/public/hljs-theme\n```\n\n## Configure Nginx\n\n`/etc/nginx/sites-available/default`\n\n```\nserver {\n    listen 80;\n    server_name localhost;\n\n    root /path/to/deployerb/backend/public;\n    index index.html;\n\n    location / {\n        try_files $uri /index.html;\n    }\n\n    location /api/ {\n        proxy_pass http://127.0.0.1:9292/;\n        rewrite ^/api/(.*)$ /$1 break;\n        proxy_set_header Host $host;\n        proxy_set_header X-Real-IP $remote_addr;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n    }\n}\n```\n\nThis setup serves:\n\n- Frontend (Vue 3) → `/` (served as static files)\n- Backend (Sinatra API) → `/api/` (proxied to Puma)\n\n### Start the Sinatra Backend\n\n```\ncd ./backend\nbundle install\nRAILS_ENV=production bundle exec puma -C config/puma.rb\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmamantoha%2Fdeployerb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmamantoha%2Fdeployerb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmamantoha%2Fdeployerb/lists"}