Bootstrapping Nest.js Applications
After installing all dependencies, we now have to create the following files to bootstrap a Nest.js application:
A file that contains the definition of the root module of our application.
A file to create a Nest.js instance with our root module.
A file to load ts-node to run our source code without transpiling it.
A file to configure TypeScript to our needs.
Note that the third file will be used during development only. On other environments, like staging or production, we would run a pre-transpiled version of our app.