NestJS · Middle · Question 56 of 75
What is a standalone Nest application?
- 1An app without modules
- 2An app that runs without Node.js
- ✓Correct answer: An app context without an HTTP server, created with
NestFactory.createApplicationContext(), e.g. for CLI scripts or workers
Explanation
You still get DI and providers, so scripts can reuse services, for example to run a data migration.