Giter VIP home page Giter VIP logo

gooey-rails's Introduction

About Gooey Reader

dashboard

unread-feed

Gooey Reader (aka GUI, Graphical User Interface...) is an RSS Reader web app designed to act as a playground for ideas, patterns and concepts.

It uses Ruby on Rails, with a React front-end. However, unlike most other projects โ€“ it's not an SPA. Gooey uses InertiaJS to act as glue between to the two. Allowing the app to continue to use server-side routing and controllers.

It's development is driven by it's creator's whims (does an RSS Reader need a Dashboard? No, but I made one anyway). Sometimes I just want to play around in the front-end, sometimes I want to try something in the backend. So if elements seem over-refined compared to others that is probably why.

Some things I like / find interesting:

  • It uses Vite Ruby instead of Webpacker.
  • It uses InertiaJS (as discussed above)
  • It uses a result object pattern for returning service objects
  • Lefthook for pre-commit git hooks
  • Alba for generating serialized objects (finally leaving behind Active Model Serializers)
  • Cuprite for driving headless-Chrome
  • It uses HeadlessUI to provide accessible, but visually customisable components like dropdowns and modals.
  • Webmock and VCR for stubbing external API requests (super useful for creating feeds)
  • Broadly, it's trying to retain a server-side approach, and limit the amount of front-end state while still feeling responsive like an API-driven SPA. This has worked better in some places than others.

Rubocop

  • Run bundle exec rubocop --auto-gen-config to generate a todo list of existing exceptions
  • Run rubocop -a to autocorrect offenses
  • Run rubocop -x to fix layout issues

gooey-rails's People

Contributors

jonathanmdavies avatar

Stargazers

Tanvir Raj avatar Jesper Christiansen avatar Roman avatar chris eliezer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.