A NestJS application is split into modules, one per area of the business: orders, users, billing. Each module has controllers, which receive requests, and providers, which hold the logic and are handed to the code that needs them through dependency injection. That is what makes the code testable, because a test can replace the database or a payment service with a stand-in.
The framework runs on Express by default and can be switched to Fastify. We keep the business logic free of that choice, so the server layer can change later without rewriting rules about orders and prices.