The demo project which is used Ruby on Rails as only one source code project for both backend and frontend which is supported by Hotwire, using Tailwind, Flowbite for UI.
Source Code: https://github.com/lpthong90/rails-messenger
Following are several screenshots of the application: