├── .gitattributes ├── .github └── workflows │ └── linters.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── .ruby-version ├── .stylelintrc.json ├── Gemfile ├── Gemfile.lock ├── MIT.md ├── README.md ├── Rakefile ├── app ├── assets │ ├── config │ │ └── manifest.js │ ├── images │ │ └── .keep │ └── stylesheets │ │ └── application.css ├── channels │ └── application_cable │ │ ├── channel.rb │ │ └── connection.rb ├── controllers │ ├── application_controller.rb │ ├── comments_controller.rb │ ├── concerns │ │ └── .keep │ ├── likes_controller.rb │ ├── posts_controller.rb │ └── users_controller.rb ├── helpers │ └── application_helper.rb ├── jobs │ └── application_job.rb ├── mailers │ └── application_mailer.rb ├── models │ ├── ability.rb │ ├── application_record.rb │ ├── comment.rb │ ├── concerns │ │ └── .keep │ ├── like.rb │ ├── post.rb │ └── user.rb └── views │ ├── devise │ ├── confirmations │ │ └── new.html.erb │ ├── mailer │ │ ├── confirmation_instructions.html.erb │ │ ├── email_changed.html.erb │ │ ├── password_change.html.erb │ │ ├── reset_password_instructions.html.erb │ │ └── unlock_instructions.html.erb │ ├── passwords │ │ ├── edit.html.erb │ │ └── new.html.erb │ ├── registrations │ │ ├── edit.html.erb │ │ └── new.html.erb │ ├── sessions │ │ └── new.html.erb │ ├── shared │ │ ├── _error_messages.html.erb │ │ └── _links.html.erb │ └── unlocks │ │ └── new.html.erb │ ├── layouts │ ├── application.html.erb │ ├── mailer.html.erb │ └── mailer.text.erb │ ├── posts │ ├── index.html.erb │ ├── new.html.erb │ └── show.html.erb │ └── users │ ├── index.html.erb │ └── show.html.erb ├── bin ├── bundle ├── bundle.cmd ├── rails ├── rake └── setup ├── config.ru ├── config ├── application.rb ├── boot.rb ├── cable.yml ├── credentials.yml.enc ├── database.yml ├── environment.rb ├── environments │ ├── development.rb │ ├── production.rb │ └── test.rb ├── initializers │ ├── assets.rb │ ├── content_security_policy.rb │ ├── devise.rb │ ├── filter_parameter_logging.rb │ ├── inflections.rb │ └── permissions_policy.rb ├── locales │ ├── devise.en.yml │ └── en.yml ├── puma.rb ├── routes.rb └── storage.yml ├── db ├── migrate │ ├── 20220428214917_create_users.rb │ ├── 20220428215204_create_posts.rb │ ├── 20220428215254_create_comments.rb │ ├── 20220428215320_create_likes.rb │ ├── 20220428215810_add_user_ref_to_comments.rb │ ├── 20220428220133_add_user_ref_to_posts.rb │ ├── 20220428220316_add_post_ref_to_comments.rb │ ├── 20220428220431_add_user_ref_to_likes.rb │ ├── 20220428220503_add_post_ref_to_likes.rb │ ├── 20220502155039_change_comment_user_id_to_author_id.rb │ ├── 20220502155311_change_like_user_id_to_author_id.rb │ ├── 20220502155411_change_post_user_id_to_author_id.rb │ ├── 20220502201326_change_posts_idto_post_id.rb │ ├── 20220509202133_add_devise_to_users.rb │ └── 20220509231908_change_comments_counter_tocomments_counter.rb ├── schema.rb └── seeds.rb ├── img └── reem.jpg ├── lib ├── assets │ └── .keep └── tasks │ └── .keep ├── log └── .keep ├── package.json ├── public ├── 404.html ├── 422.html ├── 500.html ├── apple-touch-icon-precomposed.png ├── apple-touch-icon.png ├── favicon.ico └── robots.txt ├── spec ├── models │ ├── comment_spec.rb │ ├── like_spec.rb │ ├── post_spec.rb │ └── user_spec.rb ├── rails_helper.rb ├── requests │ ├── posts_controller_spec.rb │ └── users_controller_spec.rb ├── spec_helper.rb └── views │ ├── login_spec.rb │ ├── post_index_spec.rb │ ├── post_show_spec.rb │ ├── users_index_spec.rb │ └── users_show_spec.rb ├── storage └── .keep ├── test ├── application_system_test_case.rb ├── channels │ └── application_cable │ │ └── connection_test.rb ├── controllers │ └── .keep ├── fixtures │ └── files │ │ └── .keep ├── helpers │ └── .keep ├── integration │ └── .keep ├── mailers │ └── .keep ├── models │ └── .keep ├── system │ └── .keep └── test_helper.rb ├── tmp ├── .keep ├── pids │ └── .keep └── storage │ └── .keep └── vendor └── .keep /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/linters.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/.github/workflows/linters.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --require spec_helper 2 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | ruby-3.1.1 2 | -------------------------------------------------------------------------------- /.stylelintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/.stylelintrc.json -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /MIT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/MIT.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/Rakefile -------------------------------------------------------------------------------- /app/assets/config/manifest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/assets/config/manifest.js -------------------------------------------------------------------------------- /app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/assets/stylesheets/application.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/assets/stylesheets/application.css -------------------------------------------------------------------------------- /app/channels/application_cable/channel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/channels/application_cable/channel.rb -------------------------------------------------------------------------------- /app/channels/application_cable/connection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/channels/application_cable/connection.rb -------------------------------------------------------------------------------- /app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /app/controllers/comments_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/controllers/comments_controller.rb -------------------------------------------------------------------------------- /app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/controllers/likes_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/controllers/likes_controller.rb -------------------------------------------------------------------------------- /app/controllers/posts_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/controllers/posts_controller.rb -------------------------------------------------------------------------------- /app/controllers/users_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/controllers/users_controller.rb -------------------------------------------------------------------------------- /app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/jobs/application_job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/jobs/application_job.rb -------------------------------------------------------------------------------- /app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/mailers/application_mailer.rb -------------------------------------------------------------------------------- /app/models/ability.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/models/ability.rb -------------------------------------------------------------------------------- /app/models/application_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/models/application_record.rb -------------------------------------------------------------------------------- /app/models/comment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/models/comment.rb -------------------------------------------------------------------------------- /app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/like.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/models/like.rb -------------------------------------------------------------------------------- /app/models/post.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/models/post.rb -------------------------------------------------------------------------------- /app/models/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/models/user.rb -------------------------------------------------------------------------------- /app/views/devise/confirmations/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/devise/confirmations/new.html.erb -------------------------------------------------------------------------------- /app/views/devise/mailer/confirmation_instructions.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/devise/mailer/confirmation_instructions.html.erb -------------------------------------------------------------------------------- /app/views/devise/mailer/email_changed.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/devise/mailer/email_changed.html.erb -------------------------------------------------------------------------------- /app/views/devise/mailer/password_change.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/devise/mailer/password_change.html.erb -------------------------------------------------------------------------------- /app/views/devise/mailer/reset_password_instructions.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/devise/mailer/reset_password_instructions.html.erb -------------------------------------------------------------------------------- /app/views/devise/mailer/unlock_instructions.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/devise/mailer/unlock_instructions.html.erb -------------------------------------------------------------------------------- /app/views/devise/passwords/edit.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/devise/passwords/edit.html.erb -------------------------------------------------------------------------------- /app/views/devise/passwords/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/devise/passwords/new.html.erb -------------------------------------------------------------------------------- /app/views/devise/registrations/edit.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/devise/registrations/edit.html.erb -------------------------------------------------------------------------------- /app/views/devise/registrations/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/devise/registrations/new.html.erb -------------------------------------------------------------------------------- /app/views/devise/sessions/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/devise/sessions/new.html.erb -------------------------------------------------------------------------------- /app/views/devise/shared/_error_messages.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/devise/shared/_error_messages.html.erb -------------------------------------------------------------------------------- /app/views/devise/shared/_links.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/devise/shared/_links.html.erb -------------------------------------------------------------------------------- /app/views/devise/unlocks/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/devise/unlocks/new.html.erb -------------------------------------------------------------------------------- /app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/layouts/application.html.erb -------------------------------------------------------------------------------- /app/views/layouts/mailer.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/layouts/mailer.html.erb -------------------------------------------------------------------------------- /app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /app/views/posts/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/posts/index.html.erb -------------------------------------------------------------------------------- /app/views/posts/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/posts/new.html.erb -------------------------------------------------------------------------------- /app/views/posts/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/posts/show.html.erb -------------------------------------------------------------------------------- /app/views/users/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/users/index.html.erb -------------------------------------------------------------------------------- /app/views/users/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/app/views/users/show.html.erb -------------------------------------------------------------------------------- /bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/bin/bundle -------------------------------------------------------------------------------- /bin/bundle.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/bin/bundle.cmd -------------------------------------------------------------------------------- /bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/bin/rails -------------------------------------------------------------------------------- /bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/bin/rake -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/bin/setup -------------------------------------------------------------------------------- /config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config.ru -------------------------------------------------------------------------------- /config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/application.rb -------------------------------------------------------------------------------- /config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/boot.rb -------------------------------------------------------------------------------- /config/cable.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/cable.yml -------------------------------------------------------------------------------- /config/credentials.yml.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/credentials.yml.enc -------------------------------------------------------------------------------- /config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/database.yml -------------------------------------------------------------------------------- /config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/environment.rb -------------------------------------------------------------------------------- /config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/environments/development.rb -------------------------------------------------------------------------------- /config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/environments/production.rb -------------------------------------------------------------------------------- /config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/environments/test.rb -------------------------------------------------------------------------------- /config/initializers/assets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/initializers/assets.rb -------------------------------------------------------------------------------- /config/initializers/content_security_policy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/initializers/content_security_policy.rb -------------------------------------------------------------------------------- /config/initializers/devise.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/initializers/devise.rb -------------------------------------------------------------------------------- /config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/initializers/inflections.rb -------------------------------------------------------------------------------- /config/initializers/permissions_policy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/initializers/permissions_policy.rb -------------------------------------------------------------------------------- /config/locales/devise.en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/locales/devise.en.yml -------------------------------------------------------------------------------- /config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/locales/en.yml -------------------------------------------------------------------------------- /config/puma.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/puma.rb -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/routes.rb -------------------------------------------------------------------------------- /config/storage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/config/storage.yml -------------------------------------------------------------------------------- /db/migrate/20220428214917_create_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/migrate/20220428214917_create_users.rb -------------------------------------------------------------------------------- /db/migrate/20220428215204_create_posts.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/migrate/20220428215204_create_posts.rb -------------------------------------------------------------------------------- /db/migrate/20220428215254_create_comments.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/migrate/20220428215254_create_comments.rb -------------------------------------------------------------------------------- /db/migrate/20220428215320_create_likes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/migrate/20220428215320_create_likes.rb -------------------------------------------------------------------------------- /db/migrate/20220428215810_add_user_ref_to_comments.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/migrate/20220428215810_add_user_ref_to_comments.rb -------------------------------------------------------------------------------- /db/migrate/20220428220133_add_user_ref_to_posts.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/migrate/20220428220133_add_user_ref_to_posts.rb -------------------------------------------------------------------------------- /db/migrate/20220428220316_add_post_ref_to_comments.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/migrate/20220428220316_add_post_ref_to_comments.rb -------------------------------------------------------------------------------- /db/migrate/20220428220431_add_user_ref_to_likes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/migrate/20220428220431_add_user_ref_to_likes.rb -------------------------------------------------------------------------------- /db/migrate/20220428220503_add_post_ref_to_likes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/migrate/20220428220503_add_post_ref_to_likes.rb -------------------------------------------------------------------------------- /db/migrate/20220502155039_change_comment_user_id_to_author_id.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/migrate/20220502155039_change_comment_user_id_to_author_id.rb -------------------------------------------------------------------------------- /db/migrate/20220502155311_change_like_user_id_to_author_id.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/migrate/20220502155311_change_like_user_id_to_author_id.rb -------------------------------------------------------------------------------- /db/migrate/20220502155411_change_post_user_id_to_author_id.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/migrate/20220502155411_change_post_user_id_to_author_id.rb -------------------------------------------------------------------------------- /db/migrate/20220502201326_change_posts_idto_post_id.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/migrate/20220502201326_change_posts_idto_post_id.rb -------------------------------------------------------------------------------- /db/migrate/20220509202133_add_devise_to_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/migrate/20220509202133_add_devise_to_users.rb -------------------------------------------------------------------------------- /db/migrate/20220509231908_change_comments_counter_tocomments_counter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/migrate/20220509231908_change_comments_counter_tocomments_counter.rb -------------------------------------------------------------------------------- /db/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/schema.rb -------------------------------------------------------------------------------- /db/seeds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/db/seeds.rb -------------------------------------------------------------------------------- /img/reem.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/img/reem.jpg -------------------------------------------------------------------------------- /lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/package.json -------------------------------------------------------------------------------- /public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/public/404.html -------------------------------------------------------------------------------- /public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/public/422.html -------------------------------------------------------------------------------- /public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/public/500.html -------------------------------------------------------------------------------- /public/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/apple-touch-icon.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/public/robots.txt -------------------------------------------------------------------------------- /spec/models/comment_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/spec/models/comment_spec.rb -------------------------------------------------------------------------------- /spec/models/like_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/spec/models/like_spec.rb -------------------------------------------------------------------------------- /spec/models/post_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/spec/models/post_spec.rb -------------------------------------------------------------------------------- /spec/models/user_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/spec/models/user_spec.rb -------------------------------------------------------------------------------- /spec/rails_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/spec/rails_helper.rb -------------------------------------------------------------------------------- /spec/requests/posts_controller_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/spec/requests/posts_controller_spec.rb -------------------------------------------------------------------------------- /spec/requests/users_controller_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/spec/requests/users_controller_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/views/login_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/spec/views/login_spec.rb -------------------------------------------------------------------------------- /spec/views/post_index_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/spec/views/post_index_spec.rb -------------------------------------------------------------------------------- /spec/views/post_show_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/spec/views/post_show_spec.rb -------------------------------------------------------------------------------- /spec/views/users_index_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/spec/views/users_index_spec.rb -------------------------------------------------------------------------------- /spec/views/users_show_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/spec/views/users_show_spec.rb -------------------------------------------------------------------------------- /storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/application_system_test_case.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/test/application_system_test_case.rb -------------------------------------------------------------------------------- /test/channels/application_cable/connection_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/test/channels/application_cable/connection_test.rb -------------------------------------------------------------------------------- /test/controllers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/files/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/helpers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/system/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Reem-lab/blog-app/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /tmp/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tmp/pids/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tmp/storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/.keep: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------