Nestjs backend rest api - Ecommerce project. Global prefix, repository pattern & save data to db

preview_player
Показать описание
The repository pattern is a design pattern that isolates the data layer from the rest of the app. The data layer refers to the part of your app, separate from the UI, that handles the app's data and business logic, exposing consistent APIs for the rest of your app to access this data

Learn how to set nestjs global prefix, repository pattern & save data to database.

To set a prefix for every route registered in an HTTP application, use the setGlobalPrefix() method of the INestApplication instance

Here are some useful links -

Рекомендации по теме
join shbcf.ru