{"id":20060710,"url":"https://github.com/xhostcomweb/rails-hotwire-symmetrical-projects","last_synced_at":"2025-09-06T08:39:57.488Z","repository":{"id":127410381,"uuid":"478711465","full_name":"xhostcomweb/rails-hotwire-symmetrical-projects","owner":"xhostcomweb","description":"Rails 7 Hotwire Turbo Create and Stream Projects app","archived":false,"fork":false,"pushed_at":"2022-04-07T06:50:23.000Z","size":2552,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T22:14:46.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/xhostcomweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"License.txt","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},"funding":{"github":null,"patreon":"xhostcom","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://www.patreon.com/xhostcom"}},"created_at":"2022-04-06T20:09:56.000Z","updated_at":"2022-04-08T17:46:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"8071dd58-bbc7-4553-95c7-db0fe154709b","html_url":"https://github.com/xhostcomweb/rails-hotwire-symmetrical-projects","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/xhostcomweb%2Frails-hotwire-symmetrical-projects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xhostcomweb%2Frails-hotwire-symmetrical-projects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xhostcomweb%2Frails-hotwire-symmetrical-projects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xhostcomweb%2Frails-hotwire-symmetrical-projects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xhostcomweb","download_url":"https://codeload.github.com/xhostcomweb/rails-hotwire-symmetrical-projects/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241488201,"owners_count":19970829,"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-13T13:16:26.809Z","updated_at":"2025-03-02T10:14:33.947Z","avatar_url":"https://github.com/xhostcomweb.png","language":"Ruby","funding_links":["https://patreon.com/xhostcom","https://www.patreon.com/xhostcom"],"categories":[],"sub_categories":[],"readme":"# rails 7 sass jumpstart light\n\nEpic Ruby On Rails 7 SaaS Jumpstart Light Themed template with PostgreSQL, Redis Caching, Bootstrap 5, Font Awesome 5, Devise, Notifications, Announcements, Rollup, Importmap, CSS Bundling, JS Bundling, Administrate, Hotwire, Stimulus JS GLightbox and Action Cable/Cable Ready \u0026 Request JS. \n\n## Roles - Devise User Model ##\n\n* Admin as boolean flag on User model (manual - switch it in console)\n* Member and other roles as enum integer (hash) on User model (write methods as required)\n\n# JS \u0026 CSS Bundling with Rollup - no webpack/webpacker\n\n* https://stimulus.hotwired.dev/\n\n* https://docs.stimulusreflex.com/\n\n# Combine with Hotwire and Strada \u0026 others #\n\n* https://hotwired.dev/\n\nStyle kept minimal so Bootstrap 5 can be swapped out for other CSS or UI if required, Bootstrap icons via CDN, docs reference at ./vendor/index.html, dummy fonts in root of app (not used)\n\n* Ruby/Rails/Node/Postgres\n\n- [Ruby](https://www.ruby-lang.org/en/) 3.0.0\n- [Rails](https://rubyonrails.org/) 7.0.0 up\n- [NodeJS] (https://nodejs.org/es/blog/release/v16.0.0/) 16.0.0\n- [PostgreSQL](https://www.postgresql.org/docs/14/index.html) 14.00\n\n## SET UP ##\n\nAfter first set email \u0026 db credentials in .env file (for PostgreSQL, cp .env.example to .env and fill in with your env details)\n\n1. $ bundle install \u0026\u0026 bundle audit\n2. $ yarn  (engine node v 16.0.0)\n3. $ bin/rails css:install:bootstrap  (dont overwrite application.bootstrap)\n\n* Hotwire\n\n4. $ rails hotwire:install  (dont overwrite, request js module declared in root .ts file )\n\n5. $ bin/rails db:migrate:reset\n\n6. Is set up to send basic user signup mail with Gmail, alter smtp or other mail credentials (.env, application_mailer, devise.rb \u0026 development.rb), then test signup confirmation emails by signing up \u0026 confirming user email\nAs above be sure to copy .env.example \u003e .env and enter details, or adapt to suit yours.  (2 factor auth Google accs req an App password for the device registered there and being used, not the normal password)\n\n7. $ rails dev:cache (check/toggle, must be cached, if not run again)\n\n## Optional\n\n8. $ rails stimulus_reflex:install (extra config needed see link [https://docs.stimulusreflex.com/])\n\n# Optional\n\n9. $ rails generate favicon  (put your favicon.png in assets/images, along with favicon.json in config folder)\n    (see https://realfavicongenerator.net/)  for more info.\n    \n10. $ rails g rspec:install  (for testing)\n\n(for test db run $ rails db:test:prepare)\n\n11. Run Importmap\n\n# Importmap Examples \n\n ./bin/importmap\n ./bin/importmap pin bootstrap  (pin bootstrap \u0026 popper, ie import \u0026 set)\n ./bin/importmap json (show maps)\n\n## Start server! ##\n\n$ rails s\n\n(For other cmds see  related docs/links)\n\n# Examples\n\n$ rails action_text:install (already done here)\n\n$ rails generate administrate:install (if use Administrate)\n\n# Live reload/watch CSS\n\n$ $ yarn build:css --watch (separate terminal watch/update changes in styles)\n\n## Author\n\nPaul Anthony McGowan - xhostcom@gmail.com\n\nhttps://www.patreon.com/xhostcom\n\n## Todo\n\n### Yeet DBA, fix db constraint errors see link in Gemfile ###\n\n#################################################\n\n### Multi Tenancy Support ###\n\n## Todo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxhostcomweb%2Frails-hotwire-symmetrical-projects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxhostcomweb%2Frails-hotwire-symmetrical-projects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxhostcomweb%2Frails-hotwire-symmetrical-projects/lists"}