/blog_management

Active Admin | Quill Editor | Friendly Id | ElasticSearch | Hotwire ( Stimulus Turbo ) | Tailwindcss

Primary LanguageRuby

Simple Blog post management using ActiveAdmin and Quill Editor ( Rich Text Editor )

Pre-requisites

  • After pulling repo, run bundle install
  • Change the name of "/config/application.yml.example" to application.yml
  • You need to install docker, after installing docker, run mysql docker containers using this command docker compose up -d
  • Run migration rails db:migrate
  • Install webpacker rails webpacker:install
    • Note: Enter "n" to skip configuration overwrite
    • If you have issues with webpacker, try using an older version of node, currently working using node v16.20.1
  • Create fake data seed rake create_fake_data
    • This creates categories and posts data
  • Run webpack server bin/webpack-dev-server
  • Run application rails s
  • Access localhost http://127.0.0.1:3000/ or the generated url and port after running rails s

Preview

Sign in page Screenshot from 2023-07-31 09-31-19

Post list Screenshot from 2023-07-31 09-32-15

Create Post ( Can save post as draft to not include in home page list ) Screenshot from 2023-07-31 09-33-14

Edit Post Screenshot from 2023-07-31 09-33-34

Home Page ( Jquery ) Screenshot from 2023-07-31 09-34-00

Filtered Category Screenshot from 2023-07-31 09-34-15

Post Title as slug using friendly_id gem Screenshot from 2023-07-31 09-51-30