As noted previously, organizing serverless functions and application code is not exactly the same thing. With a GraphQL system, our lives as developers are slightly more comfortable since there is only a single endpoint to support. The overall organization of application code isn't changing at all from our REST API. The only real changes are that there will be much less application code to manage, but the overall layout, structure, and routing strategy will not change in any way. For details, readers may review Chapter 2, A Three-Tier Web Application using REST.
Other parts of our API that will remain constant in the GraphQL implementation are the following:
- Configuration strategy via environment variables ...