{"id":14955442,"url":"https://github.com/ziraqyoung/rails-realtime-chatapp","last_synced_at":"2025-08-28T08:10:47.172Z","repository":{"id":39349629,"uuid":"216115813","full_name":"ziraqyoung/rails-realtime-chatapp","owner":"ziraqyoung","description":"A real time chat application Ruby on Rails 6 application","archived":false,"fork":false,"pushed_at":"2023-01-19T15:23:20.000Z","size":1059,"stargazers_count":13,"open_issues_count":32,"forks_count":8,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-14T11:14:12.971Z","etag":null,"topics":["actioncable","heroku","postgresql","rails6","redis","tailwindcss","webpacker"],"latest_commit_sha":null,"homepage":"https://rails-realtime-chatapp.herokuapp.com","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/ziraqyoung.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":"2019-10-18T22:28:46.000Z","updated_at":"2023-05-18T00:45:30.000Z","dependencies_parsed_at":"2023-02-02T23:00:48.646Z","dependency_job_id":null,"html_url":"https://github.com/ziraqyoung/rails-realtime-chatapp","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/ziraqyoung%2Frails-realtime-chatapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziraqyoung%2Frails-realtime-chatapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziraqyoung%2Frails-realtime-chatapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziraqyoung%2Frails-realtime-chatapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziraqyoung","download_url":"https://codeload.github.com/ziraqyoung/rails-realtime-chatapp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234737856,"owners_count":18879180,"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":["actioncable","heroku","postgresql","rails6","redis","tailwindcss","webpacker"],"created_at":"2024-09-24T13:11:09.853Z","updated_at":"2025-01-20T04:52:08.676Z","avatar_url":"https://github.com/ziraqyoung.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RAILS REALTIME CHATAPP\n\n## Introduction\n\nA real-time chatapp \\***\\*ruby on rails 6\\*\\*** application that streams chatroom messages through action cable.\nImplements **jquery**, **tailwindcss**, **webpacker**, **postgresql** database, **redis** database and **heroku**.\n\n## Checkout live app **_[Live App](https://rails-realtime-chatapp.herokuapp.com/)_**\n\n## Prerequisite\n\n1. **Ruby 2.5.0** and up\n2. **Postgresql** database for ActiveRecord\n3. **Redis** server for ActionCable\n4. **Node.js 10.0** and up\n\n## Getting Started\n\n- **Clone the repo from github**\n\n        $ git clone https://github.com/ziraqyoung/rails-realtime-chatapp.git\n\n        $ cd rails-realtime-chatapp\n\n        $ bundle install\n\n        $ yarn install\n\n- **Setup database credentials as shown in the ActiveRecord section this next command or create the database manually**\n\n\n        $ rails db:create\n\n- **Run the migrations**\n\n        $ rails db:migrate\n\n- **After setting configurations below**\n\n       $ rails server\n\n- **Viewing in the browser**\n\n       http://localhost:3000\n\n## Configurations\n\n### ActionCable\n\nFor development: Set redis url in `config/cable.yml`. The default redis configuration will work\n\nFor production: set environment variable in a `.env` file or if using `heroku` get ENV variable for the [docs](https://devcenter.heroku.com/articles/config-vars)\n\n```yml\n# config/cable.yml\nproduction:\n  adapter: redis\n  # url: \u003c%= ENV.fetch(\"REDIS_URL\") { \"redis://localhost:6379/1\" } %\u003e\n  url: \u003c%= ENV[\"REDISTOGO_URL\"] %\u003e\n  channel_prefix: rails_chat_tutorial_production\n```\n\n### ActiveRecord\n\nSetup for default database credentials (development)\n\nUse environment variables for production\n\n```yml\n# config/database.yml\ndefault: \u0026default\n  adapter: postgresql\n  encoding: unicode\n  username: YOUR_DATABASE_CONNECTION_USERNAME\n  password: YOUR_DATABASE_CONNECTION_PASSWORD\n  # For details on connection pooling, see Rails configuration guide\n  # https://guides.rubyonrails.org/configuring.html#database-pooling\n  pool: \u003c%= ENV.fetch(\"RAILS_MAX_THREADS\") { 5 } %\u003e\n```\n\nAnd voila! Checkout my app version **_[Live App](https://rails-realtime-chatapp.herokuapp.com/)_**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziraqyoung%2Frails-realtime-chatapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziraqyoung%2Frails-realtime-chatapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziraqyoung%2Frails-realtime-chatapp/lists"}