This is a simple project that follows along with the Simple Messaging App to learn how Action Cable can be used to enhance an application to give it real time features.
This app was built in two stages:
- The first stage was an app for sending messages only viewable to those currently logged in.
- The second stage was to build on the first stage to save the messages so that they are also visible to anyone who logs in later.
This uses the Devise gem for authentication and the bulma-rails gem for styling.
The Ruby version is 3.2.2 and the Rails version is 7.0.6
To view your system versions use ruby -v
and rails -v
If you'd like to run this app yourself follow these steps:
-
Clone the repo
git clone https://github.com/kguyer/messenger
-
cd into the project
cd messenger
-
Migrate the database
rails db:migrate
-
Seed the database with the seeds from db/seeds
rails db:seed
-
Start the server,
rails server
-
Visit
localhost:3000
in your browser