Build Blog with Ruby on Rails ๐
Guide you step-by-step learning Ruby on Rails through building a Blog application.
Overview ๐ฏ
Whatโll you learn after complete this project?
- How to start a new Rails application?
- Understanding MVC (Model โ View โ Controller) architecture
- Model: Active Record migration, association, validation, and query interface.
- View: Layout, Partial, and Form helpers
- Controller: Actions, Strong Parameters
- Rails Routing
- Understanding Webpacker in Rails
- Using Bootstrap in Rails application
- Active Storage component to upload images and files
- Action Text component to handle rich text content (WYSIWYG Editor)
- Using useful Gems: Devise, FriendlyId, Kaminari, CanCanCan Gem
- Launching: Deploy to Production
๐ Table of Contents
- Introduction about Ruby on Rails
- Understanding MVC Architecture in Rails
- Install Ruby on Rails
- Create a new Rails application
- Add Homepage
- Introduction to Bootstrap
- What is the Asset Pipeline?
- What are Webpack and Webpacker?
- Installing Bootstrap through Webpacker
- Using Bootstrap to make up UI for Blog
- Installing PostgreSQL in Ruby on Rails application
- Introduction to Active Record
- Understanding CRUD in Active Record
- Creating CRUD Post for Blog application
- Introduction to Active Storage
- Setup Active Storage
- Configure Amazon S3 service to store photos
- Using Active Storage to upload photos
- Show theย photo of Post on Homepage
- The solution to N + 1 queries
- What is Action Text and Trix Editor?
- Install Action Textย
- How to use Action Text to edit the content of Post
- The solution to N + 1 queries
- Add the Post details page
- Introduction to Devise gem
- Install Devise to Rails application
- Create User model by Devise
- Usage Devise for Authentication:
- Create a new User account
- Log in - Log out
- Reset password
- Authentication forย Posts
- Introduction to Disqus
- Integrate Blog with Disqus
- Add comment feature to Post
- Setting up an Amazon EC2
- Firewall with UFW on Ubuntu
- Installing Ruby on Rails environment
- Installing Passenger + Nginx
- Deploy on Production
- SEO 101
- Pretty URLs with FriendlyId gem
- Add a Sitemap to Blog
- Introduction to Kaminari gem
- How to use Kaminari to paginate Posts
- Introduction to Action Mailer
- Create an Action Mailer
- Action Mailer Preview
- Configuration
- Integrate with SendGrid SMTP API to send emailsย
- Buy a domain on Godaddy.com
- Configure DNS
- Install SSLย
Subscribe to get notified when Build Blog with Ruby on Rails ๐ course ready!