FREE: Get my Ruby on Rails 6 course FREE for 1 month on Skillshare premium using this link:
https://www.skillshare.com/r/profile/...
Welcome to part 3 of our Reddit clone using Ruby on Rails 6. In this web app tutorial we will add upvotes and downvotes to post. We will use AJAX to make the request to upvote or downvote a post. We will use javascript to update the score of each post in real time. Update ordering of posts based on score (difference between upvotes and downvotes).
We will add karma to user accounts, allowing them to gain points for posts that have good engagement. Karma will be displayed on the navigation area along with the user's profile.
Check out my website, where you can purchase a completed version of the Reddit clone and some of my other app builds to use as a starter for your own project. We also have web app clones for Instagram, Craigslist, Tinder and a Real Estate Platform.
Scout APM - Rails App performance improvements, debug N+1 queries and more (FREE trial).
https://try.scoutapm.com/david_batter...
🌐 Purchase pre build web apps / online courses and more:
https://www.davidbattersby.com
💻 Get $100 FREE credit to spend on your own web servers (servers from $2.50 per month).
https://www.vultr.com/?ref=8754159 (perfect for Rails / JS / PHP)
If you want to learn more about programming in Ruby, subscribe for more videos on the Ruby language and Ruby on Rails framework for startups and web development.