This project serves as a demonstration for the talk "Introduction to Ruby on Rails: Creating Modern Applications with Hotwire". It showcases a basic version of a Twitter-like social media platform, demonstrating the power and simplicity of Ruby on Rails with Hotwire.
This application allows users to:
- Log in
- Share thoughts (posts)
- Experience real-time updates
The primary goal is to illustrate how Turbo can transform a static website into a dynamic one without relying on custom JavaScript. Instead, it leverages the Turbo stack to create a responsive and interactive user experience.
- User authentication
- Post creation and display
- Real-time updates using Turbo Streams
- Responsive design
- Ruby on Rails
- Turbo and Stimulus (part of the Hotwire stack)
- SQLite
- Ruby 3.3.4
- SQLite
-
Clone the repository:
git clone git@github.com:pedroaugustofsilva/introduction-to-hotwire-talk.git cd your-repo-name
-
Install dependencies:
bundle install
-
Set up the database:
rails db:prepare
-
Start the Rails server:
rails server
-
Visit
http://localhost:3000
in your web browser to see the application in action.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.