├── .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 │ ├── api │ │ └── v1 │ │ │ ├── comments_controller.rb │ │ │ └── posts_controller.rb │ ├── application_controller.rb │ ├── comments_controller.rb │ ├── concerns │ │ └── .keep │ ├── likes_controller.rb │ ├── posts_controller.rb │ └── users_controller.rb ├── helpers │ ├── api │ │ └── v1 │ │ │ ├── comments_helper.rb │ │ │ └── posts_helper.rb │ └── application_helper.rb ├── javascript │ ├── application.js │ └── controllers │ │ ├── application.js │ │ ├── hello_controller.js │ │ └── index.js ├── 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 │ ├── comments │ └── new.html.erb │ ├── 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 │ ├── likes │ └── new.html.erb │ ├── posts │ ├── _post.html.erb │ ├── index.html.erb │ ├── new.html.erb │ └── show.html.erb │ └── users │ ├── _user.html.erb │ ├── index.html.erb │ └── show.html.erb ├── bin ├── bundle ├── bundle.cmd ├── importmap ├── 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 ├── importmap.rb ├── initializers │ ├── assets.rb │ ├── content_security_policy.rb │ ├── devise.rb │ ├── filter_parameter_logging.rb │ ├── inflections.rb │ ├── permissions_policy.rb │ ├── rswag_api.rb │ └── rswag_ui.rb ├── locales │ ├── devise.en.yml │ └── en.yml ├── puma.rb ├── routes.rb └── storage.yml ├── db ├── migrate │ ├── 20231004120326_create_users.rb │ ├── 20231004120403_create_posts.rb │ ├── 20231004120444_create_comments.rb │ ├── 20231004120510_create_likes.rb │ ├── 20231018201646_add_devise_to_users.rb │ └── 20231020201337_add_role_to_users.rb ├── schema.rb └── seeds.rb ├── lib ├── assets │ └── .keep └── tasks │ └── .keep ├── log └── .keep ├── public ├── 404.html ├── 422.html ├── 500.html ├── apple-touch-icon-precomposed.png ├── apple-touch-icon.png ├── favicon.ico └── robots.txt ├── spec ├── features │ ├── post_index_spec.rb │ ├── post_show_spec.rb │ ├── user_index_spec.rb │ └── user_show_spec.rb ├── helpers │ └── api │ │ └── v1 │ │ ├── comments_helper_spec.rb │ │ └── posts_helper_spec.rb ├── models │ ├── comment_spec.rb │ ├── like_spec.rb │ ├── post_spec.rb │ └── user_spec.rb ├── rails_helper.rb ├── requests │ ├── api │ │ └── v1 │ │ │ ├── comments_spec.rb │ │ │ └── posts_spec.rb │ ├── posts_spec.rb │ └── users_spec.rb └── spec_helper.rb ├── storage └── .keep ├── swagger └── v1 │ └── swagger.yaml ├── test ├── application_system_test_case.rb ├── channels │ └── application_cable │ │ └── connection_test.rb ├── controllers │ └── .keep ├── fixtures │ ├── comments.yml │ ├── files │ │ └── .keep │ ├── likes.yml │ ├── posts.yml │ └── users.yml ├── helpers │ └── .keep ├── integration │ └── .keep ├── mailers │ └── .keep ├── models │ ├── .keep │ ├── comment_test.rb │ ├── like_test.rb │ ├── post_test.rb │ └── user_test.rb ├── system │ └── .keep └── test_helper.rb ├── tmp ├── .keep ├── pids │ └── .keep └── storage │ └── .keep └── vendor ├── .keep └── javascript └── .keep /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/linters.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/.github/workflows/linters.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --require spec_helper 2 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | ruby-3.2.2 2 | -------------------------------------------------------------------------------- /.stylelintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/.stylelintrc.json -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /MIT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/MIT.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/Rakefile -------------------------------------------------------------------------------- /app/assets/config/manifest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/assets/config/manifest.js -------------------------------------------------------------------------------- /app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/assets/stylesheets/application.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/assets/stylesheets/application.css -------------------------------------------------------------------------------- /app/channels/application_cable/channel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/channels/application_cable/channel.rb -------------------------------------------------------------------------------- /app/channels/application_cable/connection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/channels/application_cable/connection.rb -------------------------------------------------------------------------------- /app/controllers/api/v1/comments_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/controllers/api/v1/comments_controller.rb -------------------------------------------------------------------------------- /app/controllers/api/v1/posts_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/controllers/api/v1/posts_controller.rb -------------------------------------------------------------------------------- /app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /app/controllers/comments_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/controllers/comments_controller.rb -------------------------------------------------------------------------------- /app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/controllers/likes_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/controllers/likes_controller.rb -------------------------------------------------------------------------------- /app/controllers/posts_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/controllers/posts_controller.rb -------------------------------------------------------------------------------- /app/controllers/users_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/controllers/users_controller.rb -------------------------------------------------------------------------------- /app/helpers/api/v1/comments_helper.rb: -------------------------------------------------------------------------------- 1 | module Api::V1::CommentsHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/helpers/api/v1/posts_helper.rb: -------------------------------------------------------------------------------- 1 | module Api::V1::PostsHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/javascript/application.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/javascript/application.js -------------------------------------------------------------------------------- /app/javascript/controllers/application.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/javascript/controllers/application.js -------------------------------------------------------------------------------- /app/javascript/controllers/hello_controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/javascript/controllers/hello_controller.js -------------------------------------------------------------------------------- /app/javascript/controllers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/javascript/controllers/index.js -------------------------------------------------------------------------------- /app/jobs/application_job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/jobs/application_job.rb -------------------------------------------------------------------------------- /app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/mailers/application_mailer.rb -------------------------------------------------------------------------------- /app/models/ability.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/models/ability.rb -------------------------------------------------------------------------------- /app/models/application_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/models/application_record.rb -------------------------------------------------------------------------------- /app/models/comment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/models/comment.rb -------------------------------------------------------------------------------- /app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/like.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/models/like.rb -------------------------------------------------------------------------------- /app/models/post.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/models/post.rb -------------------------------------------------------------------------------- /app/models/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/models/user.rb -------------------------------------------------------------------------------- /app/views/comments/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/comments/new.html.erb -------------------------------------------------------------------------------- /app/views/devise/confirmations/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/devise/confirmations/new.html.erb -------------------------------------------------------------------------------- /app/views/devise/mailer/confirmation_instructions.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/devise/mailer/confirmation_instructions.html.erb -------------------------------------------------------------------------------- /app/views/devise/mailer/email_changed.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/devise/mailer/email_changed.html.erb -------------------------------------------------------------------------------- /app/views/devise/mailer/password_change.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/devise/mailer/password_change.html.erb -------------------------------------------------------------------------------- /app/views/devise/mailer/reset_password_instructions.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/devise/mailer/reset_password_instructions.html.erb -------------------------------------------------------------------------------- /app/views/devise/mailer/unlock_instructions.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/devise/mailer/unlock_instructions.html.erb -------------------------------------------------------------------------------- /app/views/devise/passwords/edit.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/devise/passwords/edit.html.erb -------------------------------------------------------------------------------- /app/views/devise/passwords/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/devise/passwords/new.html.erb -------------------------------------------------------------------------------- /app/views/devise/registrations/edit.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/devise/registrations/edit.html.erb -------------------------------------------------------------------------------- /app/views/devise/registrations/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/devise/registrations/new.html.erb -------------------------------------------------------------------------------- /app/views/devise/sessions/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/devise/sessions/new.html.erb -------------------------------------------------------------------------------- /app/views/devise/shared/_error_messages.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/devise/shared/_error_messages.html.erb -------------------------------------------------------------------------------- /app/views/devise/shared/_links.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/devise/shared/_links.html.erb -------------------------------------------------------------------------------- /app/views/devise/unlocks/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/devise/unlocks/new.html.erb -------------------------------------------------------------------------------- /app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/layouts/application.html.erb -------------------------------------------------------------------------------- /app/views/layouts/mailer.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/layouts/mailer.html.erb -------------------------------------------------------------------------------- /app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /app/views/likes/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/likes/new.html.erb -------------------------------------------------------------------------------- /app/views/posts/_post.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/posts/_post.html.erb -------------------------------------------------------------------------------- /app/views/posts/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/posts/index.html.erb -------------------------------------------------------------------------------- /app/views/posts/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/posts/new.html.erb -------------------------------------------------------------------------------- /app/views/posts/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/posts/show.html.erb -------------------------------------------------------------------------------- /app/views/users/_user.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/users/_user.html.erb -------------------------------------------------------------------------------- /app/views/users/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/users/index.html.erb -------------------------------------------------------------------------------- /app/views/users/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/app/views/users/show.html.erb -------------------------------------------------------------------------------- /bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/bin/bundle -------------------------------------------------------------------------------- /bin/bundle.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/bin/bundle.cmd -------------------------------------------------------------------------------- /bin/importmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/bin/importmap -------------------------------------------------------------------------------- /bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/bin/rails -------------------------------------------------------------------------------- /bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/bin/rake -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/bin/setup -------------------------------------------------------------------------------- /config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config.ru -------------------------------------------------------------------------------- /config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/application.rb -------------------------------------------------------------------------------- /config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/boot.rb -------------------------------------------------------------------------------- /config/cable.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/cable.yml -------------------------------------------------------------------------------- /config/credentials.yml.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/credentials.yml.enc -------------------------------------------------------------------------------- /config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/database.yml -------------------------------------------------------------------------------- /config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/environment.rb -------------------------------------------------------------------------------- /config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/environments/development.rb -------------------------------------------------------------------------------- /config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/environments/production.rb -------------------------------------------------------------------------------- /config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/environments/test.rb -------------------------------------------------------------------------------- /config/importmap.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/importmap.rb -------------------------------------------------------------------------------- /config/initializers/assets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/initializers/assets.rb -------------------------------------------------------------------------------- /config/initializers/content_security_policy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/initializers/content_security_policy.rb -------------------------------------------------------------------------------- /config/initializers/devise.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/initializers/devise.rb -------------------------------------------------------------------------------- /config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/initializers/inflections.rb -------------------------------------------------------------------------------- /config/initializers/permissions_policy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/initializers/permissions_policy.rb -------------------------------------------------------------------------------- /config/initializers/rswag_api.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/initializers/rswag_api.rb -------------------------------------------------------------------------------- /config/initializers/rswag_ui.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/initializers/rswag_ui.rb -------------------------------------------------------------------------------- /config/locales/devise.en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/locales/devise.en.yml -------------------------------------------------------------------------------- /config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/locales/en.yml -------------------------------------------------------------------------------- /config/puma.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/puma.rb -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/routes.rb -------------------------------------------------------------------------------- /config/storage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/config/storage.yml -------------------------------------------------------------------------------- /db/migrate/20231004120326_create_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/db/migrate/20231004120326_create_users.rb -------------------------------------------------------------------------------- /db/migrate/20231004120403_create_posts.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/db/migrate/20231004120403_create_posts.rb -------------------------------------------------------------------------------- /db/migrate/20231004120444_create_comments.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/db/migrate/20231004120444_create_comments.rb -------------------------------------------------------------------------------- /db/migrate/20231004120510_create_likes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/db/migrate/20231004120510_create_likes.rb -------------------------------------------------------------------------------- /db/migrate/20231018201646_add_devise_to_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/db/migrate/20231018201646_add_devise_to_users.rb -------------------------------------------------------------------------------- /db/migrate/20231020201337_add_role_to_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/db/migrate/20231020201337_add_role_to_users.rb -------------------------------------------------------------------------------- /db/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/db/schema.rb -------------------------------------------------------------------------------- /db/seeds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/db/seeds.rb -------------------------------------------------------------------------------- /lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/public/404.html -------------------------------------------------------------------------------- /public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/public/422.html -------------------------------------------------------------------------------- /public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/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/Chandan-devs-tech/blog-app/HEAD/public/robots.txt -------------------------------------------------------------------------------- /spec/features/post_index_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/features/post_index_spec.rb -------------------------------------------------------------------------------- /spec/features/post_show_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/features/post_show_spec.rb -------------------------------------------------------------------------------- /spec/features/user_index_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/features/user_index_spec.rb -------------------------------------------------------------------------------- /spec/features/user_show_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/features/user_show_spec.rb -------------------------------------------------------------------------------- /spec/helpers/api/v1/comments_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/helpers/api/v1/comments_helper_spec.rb -------------------------------------------------------------------------------- /spec/helpers/api/v1/posts_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/helpers/api/v1/posts_helper_spec.rb -------------------------------------------------------------------------------- /spec/models/comment_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/models/comment_spec.rb -------------------------------------------------------------------------------- /spec/models/like_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/models/like_spec.rb -------------------------------------------------------------------------------- /spec/models/post_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/models/post_spec.rb -------------------------------------------------------------------------------- /spec/models/user_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/models/user_spec.rb -------------------------------------------------------------------------------- /spec/rails_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/rails_helper.rb -------------------------------------------------------------------------------- /spec/requests/api/v1/comments_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/requests/api/v1/comments_spec.rb -------------------------------------------------------------------------------- /spec/requests/api/v1/posts_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/requests/api/v1/posts_spec.rb -------------------------------------------------------------------------------- /spec/requests/posts_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/requests/posts_spec.rb -------------------------------------------------------------------------------- /spec/requests/users_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/requests/users_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /swagger/v1/swagger.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/swagger/v1/swagger.yaml -------------------------------------------------------------------------------- /test/application_system_test_case.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/test/application_system_test_case.rb -------------------------------------------------------------------------------- /test/channels/application_cable/connection_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/test/channels/application_cable/connection_test.rb -------------------------------------------------------------------------------- /test/controllers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/comments.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/test/fixtures/comments.yml -------------------------------------------------------------------------------- /test/fixtures/files/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/likes.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/test/fixtures/likes.yml -------------------------------------------------------------------------------- /test/fixtures/posts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/test/fixtures/posts.yml -------------------------------------------------------------------------------- /test/fixtures/users.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/test/fixtures/users.yml -------------------------------------------------------------------------------- /test/helpers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/models/comment_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/test/models/comment_test.rb -------------------------------------------------------------------------------- /test/models/like_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/test/models/like_test.rb -------------------------------------------------------------------------------- /test/models/post_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/test/models/post_test.rb -------------------------------------------------------------------------------- /test/models/user_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/test/models/user_test.rb -------------------------------------------------------------------------------- /test/system/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chandan-devs-tech/blog-app/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /tmp/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tmp/pids/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tmp/storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/javascript/.keep: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------