Skip to content

This is a simple blog web app built using Ruby on Rails. The aim is to get familiar with all the aspects of Rails.

Notifications You must be signed in to change notification settings

arnold-nonstop/ns-blog

Repository files navigation

NS Blogs

About

This is a simple blog web app built using Ruby on Rails. The aim is to get familiar with all the aspects of Rails.

Setup

  1. Clone the project
  2. run bundle install
  3. run rails db:migrate
  4. run rails s

TODOs

  • Initial skeleton
  • Create posts using scaffold
  • Use rich text editor for the content of post using action_text
  • Add validation while creating posts
  • Create comments using resource
  • Associate post and comment
  • Update views to show comments inside relevant post
  • Add view to create post
  • Add validation while creating comment on a post
  • Run migrations
  • Change database from Sqlite3 to pg and vice versa
  • Add authentication using devise
  • Setup login and signup views/links
  • Protect modification of post if user is not logged in
  • Run tests
  • Create post and User association
  • Prevent user to update other's posts
  • Create comment and User association
  • Show name of commented user
  • Show current user's posts
  • Improve UI for user experience [WIP]
  • Create a custom middleware
  • Create seeds
  • Write custom unit tests
  • Data caching

About

This is a simple blog web app built using Ruby on Rails. The aim is to get familiar with all the aspects of Rails.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published