/rails_mini_blog_tutorial

Rails5 web application tutorial

Primary LanguageRuby

About this repository

  • This is rials5 web application tutorial.
  • In this tutorial, you will learn rails5 web application development through creating mini_blog service.

Contents

0 Setup ruby and rails5

1 Rails new

2 Generate model Post

3 Generate PostController

4 Implement PostController#index and PostController#show action

5 Implement PostController#new and PostController#create actions

6 Implement PostController#edit, PostController#update and PostController#destroy actions

7 Generate User model, implement LoginController and its views

8 Associate Post and User mode

9 Introduce user following feature

10 Setup rspec and implement controller specs

11 Introduce fav feature

12 Introduce photo upload feature

13 I'm thinking...

Requiements

  • ruby >= 2.4.2
  • rails >= 5.1.3
  • Mac or Linux