Migrations & seeds
- start with adding your Database Credentials to your .env file
- then adding migrations/Seeds in Database folder
- run npm run db:migrate to migrate the migrations , and npm run db:seed in order to run the seeds
Inject the connection to Nest.js modules
check the app module and you will see the connection there and check the app service to learn about how to inject this connection to your own services & modules
Extra
there is Extra folder which has some useful default columns that you can easily import it into your migrations