Sounds awesome. To anyone interested in that approach, the closest open-source stack would be:
- PostgreSQL
- PostGraphile
- Restrict prod to only allow persisted queries
- Generate TS types using apollo-cli or graphql-code-generator