Organization of the application code

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, 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 ...

Get Serverless Design Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.