NodeJS with Typescript & TypeORM - Custom Pagination, Search & Sorting using MongoDB

preview_player
Показать описание

Learn how to filter, paginate and sort using NodeJS & MongoDB using TypeORM. We will compare Frontend and Backend API Filtering with two different API Endpoints. One will be a simple endpoint where you return all the data, the other will be an endpoint where we will apply custom Pagination, Search & Sorting.

This video can be combined with other videos:

Other Courses:

Timestamps:
00:00 Preview
00:40 Typescript Setup
07:12 Product Entity
08:53 Connect with MongoDB using TypeOMR
13:47 Seed the database
17:54 Frontend & Backend Endpoints
21:13 Searching
25:38 Sorting
27:40 Pagination

#javascript #node #typescript #typeorm #mongodb
Рекомендации по теме
Комментарии
Автор

Hi Friend, can we use relations in TypeORM with MongoDB? something like mongoose populate .

malekan
Автор

how to use $push in typeorm with mongodb?

azimb
Автор

TypeError: Cannot read property 'prototype' of undefined,
Getting this error on => repository.find() CALL. I can save to mondodb but can't read.
MongoServer version = 5.0.2

MahbuburRahman-ucnp
Автор

mongodb version 4.*.* produces error. version 3 works fine.

MahbuburRahman-ucnp