The App

This app was built on Ruby on Rails and the code is available on GitHub.
* Code: https://github.com/palladius/ror7-tailwind-puffintours/
* App in PROD: https://puffintours-prod-rjjr63dzrq-ew.a.run.app/

Features

some features: πŸ”· Slick CSS with Tailwind.
πŸ”· Active Storage for images (all images are kept on Google Cloud Storage)
πŸ”· star rating
πŸ”· Cheap maintenance. I'm using 1$ credits to run this, and after a few months it's still up! :)
πŸ”· Ability to comment and rate articles (my wife was adamant about this!)
πŸ”· Login via `devise`.

The Code

Gems:
πŸ”· A number of gems are used to render HTML with videos and stuff. Notably, 99% of it is useless since I found out a great article to render videos on ActiveStorage
gem 'html-pipeline'
gem 'html-pipeline-trix-video' # BAD: https://github.com/HazelGrant/html-pipeline-trix-video
gem 'html-pipeline-youtube'
gem 'html-pipeline-vimeo'
gem 'html-pipeline-wiki-link'
gem 'commonmarker'
gem 'rouge'
gem 'sanitize'
gem 'rinku'
gem 'gemoji'
πŸ”· gem 'guard-livereload' and gem 'listen' for local degv auto-reload. Wow!
πŸ”· gem 'acts-as-taggable-on' to manage tags
πŸ”· gem 'acts_as_votable' to manage votes/likes (but I believe I wont use it now that the vote is in the "comment" model)
πŸ”· gem 'lolcat' to make life like a rainbow!
πŸ”· gem "google-cloud-storage", gem 'googleauth' for ActiveStorage to work on GCP
πŸ”· gem "chartkick" (and his friends gem "groupdate", gem 'active_median') for charts on main page
πŸ”· gem langchainrb (to inject some GenAI - like auto-summarize stuff).