Let's Build: A Twitter Clone With Ruby on Rails - Part 3
Web-Crunch
Hi, My name is Andy Leverenz. I design, code, and am an author of things. Check out my blog Web-Crunch https://web-crunch.comπ€π»
======
π This is part 3 of the 3 part series
This app will most notably demonstrate a user role system giving your web application and native application feel all within the browser. I'll be going a bit faster than the previous build as it was more of a foundational exercise where I explained common concepts revolving around the Ruby on Rails ecosystem. We'll make use of Rails generators to help scaffold some of the things I've already covered. If you haven't watched the first Let's Build, I invite you to do so in order to understand what we are doing.
What we are building
The app itself will feature a basic CRUD principle where we can create, read, update, and destroy Tweeets. In essence, this is the same as my previous build where we created posts for a blog. On top of the Tweeets, I introduce a new gem called Devise which makes creating an entire user role and authentication system easy. Combined with this gem we can authenticate users who want to author Tweeets. A user's Tweeets are then also tied to their account. The end result is a public facing site with a stream of tweets from different users. Users that have an account can login to create their own Tweeets to add to the public stream.
β Download the source code: https://github.com/justalever/twittter
βοΈHelp me keep going: https://www.buymeacoffee.com/webcrunch
π» Previously published at: https://web-crunch.com/lets-build-with-ruby-on-rails-a-twitter-clone
π» Check out the blog: https://web-crunch.com
π‘ π« Check out my agency: https://coupleofcreatives.com
π¦ Check out my personal site: https://justalever.com
π Links:
Weekly Newsletter: https://web-crunch.com/subscribe Twitter: https://twitter.com/webcrunchblog Twitter(Personal Account): https://twitter.com/justalever Facebook: https://facebook.com/webcrunchblog Dribbble: https://dribbble.com/justalever Github: https://github.com/justalever Medium: https://medium.com/the-web-crunch-publication
πCheck out my book on UX Design: "LUXD: Learn User Experience Design" https://web-crunch.com/books/luxd
π Check out my FREE book on Tumblr Theming:
"Pro Tumblr Theming" https://web-crunch.com/books/ptt
π― Need awesome web hosting? Check out cloudways. They allow me to use a variety of hosting providers and build apps with ease: http://bit.ly/webcrunchhosting ... https://www.youtube.com/watch?v=V4h7-hR_WME
80032975 Bytes