Express Instance
Sometimes you might wanna have a full control of the express instance lifecycle.
It's pretty easy since NestFactory.create() method takes the express instance as a second argument.
TypeScript
const server = express();
const app = await NestFactory.create(ApplicationModule, server);