https://github.com/tmtocb/live-post_rails_stimulusreflex
simple Rails 6 app based on Twitter with real time posts and likes using ActionCable, CableReady, Redis and StimulusReflex. Bootstrap as CSS framework, Postgres as database, Font-Awesome for icons.
https://github.com/tmtocb/live-post_rails_stimulusreflex
actioncable bootstrap cableready postgresql rails6 redis ruby ruby-on-rails stimulus-reflex
Last synced: about 1 month ago
JSON representation
simple Rails 6 app based on Twitter with real time posts and likes using ActionCable, CableReady, Redis and StimulusReflex. Bootstrap as CSS framework, Postgres as database, Font-Awesome for icons.
- Host: GitHub
- URL: https://github.com/tmtocb/live-post_rails_stimulusreflex
- Owner: tmtocb
- Created: 2021-01-08T02:18:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-30T22:48:18.000Z (over 4 years ago)
- Last Synced: 2025-02-02T09:44:45.842Z (3 months ago)
- Topics: actioncable, bootstrap, cableready, postgresql, rails6, redis, ruby, ruby-on-rails, stimulus-reflex
- Language: Ruby
- Homepage: https://tmt-live-post.herokuapp.com/
- Size: 421 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Live-Post app - real time posts and likes/reposts.
---

---
## Stack
*
as language.
*as framework.
*as database.
*for deployment in production.
*a CSS framework.
*for Front-End styling.
*for Front-End styling.
*for scripts and Front-End styling.
*for Front-End styling.
* **ActionCable** for integration of websockets and stream of channels.
* **Redis** as a dependency for StimulusReflex and for Heroku.
* **StimulusReflex** for reactive real time updates with reflexes by intercepting user interactions and passing them to Rails over real-time websockets that change the application state.
* **CableReady** to broadcast DOM updates from multiple clients at once using **ActionCable**, notify the users and update the UI, real time updates for posts.
* **Font-Awesome** as an icon toolkit
* **better_errors** gem in development---
## Configuration & dependencies
### System dependencies
`Ruby: 2.7.2p137`
`Rails: 6.0.3.4`
`Redis: 4.2.5`
`database: postgresql`
### Configuration
`git clone https://github.com/tmtocb/live-post`
`bundle install`
install stimulus_reflex: `bundle exec rails stimulus_reflex:install`
### Empty database
`rails db:drop db:create db:migrate`
### Run the app
`rails s`