/RoR-Blogs-Your-Way

'Blogs Your Way' is a blog site made on Rails for practice purpose.

Primary LanguageRuby

Blogs Your Way


Links


Purpose

'Blogs Your Way' is a blog site made on Rails for practice purpose.

  1. You can publish, edit and delete a blog post.

  2. You can leave and delete your comment on the post.


Resources


My two cents

This tutorial is not bad, but probably not a great one for beginners:

👍 Pros:

  1. It's a FREE 1-hr tutorial on YouTube!

  2. With the help of Bulma-Rails (a gem), you don't have to worry about styling of the blog (the only thing you need to do is simply importing 'Bulma' in your scss file).

  3. You can build a functional blog site after following through.

👎 Cons:

  1. The good thing is also the bad thing. As the tutor used heaps functionalities from Bulma-Rails & Simple Form (another gem) to create forms, you wouldn’t know how to create forms properly from scratch.

  2. Initially, the tutor didn't install some Ruby gems correctly, so you would need to go back to fix some issues there (Took me about 15-20mins to fix them. Would be nice if he could have edited that part of the video. And the similar problems happened for a couple times later.)

  3. The tutor didn't explain some code clearly... but probably that’s how Rails magic ✨ works? LOL


Specs

🍎 Ruby Version
  • 2.6.3
💎 Ruby Gems
  • Better Errors: Easier on the eyes when it comes to errors.

  • Bulma-Rails: A modern CSS framework based on Flexbox.

  • Guard: Guard is a command line tool to easily handle events on file system modifications.

  • Guard LiveReload: Guard LiveReload automatically reloads your browser when 'view' files are modified. (NOTE: This gem depends on the Guard gem.)

  • Simple Form: For simpler forms!

🔑 Database
  • PostgreSQL

Screenshots

  • Home Page

Home Page

  • Create a New Post

Create a New Post

  • Edit a Post

Edit a Post

  • Leave & Delete a Comment

Leave & Delete a Comment