Hey everyone, thought I’d make an introduction, and can certainly use your guidance and suggestions
We (another jr dev and I) are rebuilding a node-express, jquery, firebase prototype with pg, hanami, jwt, react. We picked Hanami over Rails, Express.js, and Spring.jar because it seems very thoughtfully built, small in size, have good documentation (wow TDD docs!).
I’ve worked mostly with JS in production, have done some plain old Ruby, and love the language - but definitely lack knowledge in web configuration, the ecosystem, and the Ruby way
So far we’ve been referencing OSSBoard and the official tutorial to get started.
Some config info:
- .erb until we set up an
apicontainer to talk to React
- omniauth to handle OAuth
- JWT to auth api (will use this built-with-hanami for reference)
Currently trying to get
omniauth working, then add in a jwt service.
Next is to figure out the repository, see about building associations and aggregates.
Since we plan to use JWT, is sessions still required? Omniauth doesn’t seem to work without
use Rack::Session::Cookie and a secret is generated for each container - can those be ignored for now?