CRUD Operations with TypeORM

Learn how to perform basic CRUD operations using NestJS as the API library.

Overview

In this lesson, we’ll look at CRUD operations. We’ll be using NestJS as the API library. It includes three basic files:

  • app.controller.ts: This file handles all the routes, for example,/get/employees.
  • app.service.ts: This file has the algorithms and implementations that connect with databases and third-party APIs.
  • app.module.ts: This module registers other modules (for example, entities) that are used in the app.service.ts or app.controller.ts files.

Get hands-on with 1200+ tech skills courses.