The backend architecture follows a simple component architecture where all components are listed within
app.component.js as an array
The position of component in the array also decides the order of initialisation of that particular component during the express app initialisation. Components that are independent are initialised at the beginning of the boot process. And components that rely on other components are initialised later.
For REST API framework, we use simple router -> service -> model concept.
And for GraphQL API framework, we use simple resolver -> service -> model concept.
Subscribe to Our Newsletter
Let us stretch your imagination