Using TypeORM
TypeORM Overview
TypeORM is a popular TypeScript ORM.
It is based on the idea of creating Entity
classes to represent each database table, with the persistent and join key fields marked with decorators.
Once entity classes are defined, TypeORM provides methods for storing, updating, and querying the entities via the EntityManager
.