For getting started with NestJS I highly recommend looking over the official documentation. The overview section & fundamentals covers a lot of great information as to how one builds a backend application with NestJS. https://docs.nestjs.com/first-steps.
It will also cover adding dependencies for various features like configuration, typeorm, graphql via apollo, etc.
When setting up the project via nest new <project-name>
it will create a starting project, along with git repository. If your git is configured to have the default branch of master
, be sure to change the branch of the nest project to something more inclusive like main
or dev
. Also be sure to update your git configuration to use this by default
git config --global init.defaultBranch main