Vendure Architecture Overview
Vendure is built with an internal architecture based on NestJS modules. It is not necessary to be familiar with all the internal modules, but a simplified overview can help to see how the major parts fit together. Here is a simplified diagram of the Vendure application architecture:
There are 2 separate GraphQL APIs: shop and admin.
The Shop API is used by public-facing client applications (web shops, e-commerce apps, mobile apps etc.) to allow customers to find products and place orders.
The Admin API is used by administrators to manage products, customers and orders.
This is an internal module which contains the bulk of the Vendure business logic for managing products, customers, orders, collections etc.
Vendure supports multiple databases. Currently it is tested with MySQL/MariaDB, PostgreSQL, SQLite and SQL.js. Since Vendure uses TypeORM to manage data access, it can theoretically also work with CockroachDB, Microsoft SQL Server and MongoDB, though these are as yet untested.
Custom Business Logic (Plugins)
Not shown on the diagram (for the sake of simplicity) are plugins. Plugins are the mechanism by which you extend Vendure with your own business logic and functionality. See the Plugins docs