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).