Integrating TypeORM with NestJS
Integrating NestJS with TypeORM
Integrating TypeORM using dotenv (.env)
Adding Migrations and running migrations in TypeORM using CLI
In this Playlist, we will be using TypeORM with Nest Js to integrate the database with our application
In this video, we are going to configure TypeORM Module connection to be used within NestJS
Using TypeORM Module forRootAsync method to configure the connection options, and reading the configuration from the .env file.
Using useFactory Method to load TypeORM connection asynchronously from the .env file.
Using ConnectionOptionsEnvReader to read connection options from ENV file
Configuring TYPEORM_ENTITIES and TYPEORM_MIGRATIONS to work both with typescript files as well as compiled javascript files.
TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be used with TypeScript and JavaScript (ES5, ES6, ES7, ES8).
Topics that we are going to discuss in the series of the Playlist
1. What are migrations and entities in TypeORM
2. When to use Active record and DataMapper
3. Advantage of using ActiveRecord in TypeORM
4. Benefits of using TypeORM
5. Creating migration and entity in TypeORM
6. Running migrations from CLI using TypeORM
7. Configuring TypeORM module to load connection options from .env files
8. Solving entities and migrations issues in build or compiled JS code
9. Querying Database using TypeORM