Introduction to TypeORM
TypeORM is a TypeScript-first ORM that works with PostgreSQL, MySQL, SQLite, and more. It lets you define your database tables as TypeScript classes with decorators, and interact with the database using a clean, object-oriented API.
Entity
An Entity in TypeORM is a TypeScript class that maps to a database table. You define your columns and relationships using decorators. It is the equivalent of a Mongoose Schema and Model combined into one class.
Database Operations
Learn how to perform CRUD operations in TypeORM using the Repository API — create, read, update, and delete rows from your PostgreSQL tables.
Basic Example
Build a complete Books CRUD API using Express and TypeORM with PostgreSQL — covering project setup, entity definition, routes, and testing.