3 ms·
Why not just have the rails app exposing GQL also expose the customer UI/etc?
by jpochtar 7y ago
Why not just have the rails app exposing GQL also expose the customer UI/etc?
- mrkurt 7y agoThat's actually the plan! The Ruby Graphql gem lets you resolve queries directly so the app can have an "edge" or "core" mode and make the right call (edge over HTTP, core direct to DB).
- michaeldwan 7y agoMostly because the path to here was not a straight one :) Our main Rails app does a bunch of things that can't run globally and it takes a long time to build while the customer facing app is a lightweight Rails app that consolidated several static and single page react apps into one less gross place.