NestJs REST API with MongoDB #2 - Add Pagination & Search

Поділитися
Вставка
  • Опубліковано 4 жов 2024
  • Final Code:
    github.com/ghu...
    Complete In-Depth NestJs UDEMY Courses:
    www.udemy.com/...
    ⚙️ Gadgets I use for Recording:
    💻 Laptop - Macbook PRO M1 - 16/512
    amzn.to/4eUqrSe
    🎤 MIC - Samson Technologies Q2U USB/XLR Dynamic Microphone
    amzn.to/3W9Z4wl
    🖱️Mouse - Logitech G402 Gaming Mouse Hyperion Fury USB, Black
    amzn.to/3RY4xUy
    ⌨️ Keyboard - Logitech K380 Multi-Device Bluetooth Keyboard
    amzn.to/3RY4Fn0
    🖥️ Monitor - UltraSharp 24-Inch Screen Led-Lit Monitor (U2419H)
    amzn.to/4bxidN6
    In this video, we will learn how we can add pagination and search functionality in our NestJS API. In my previous video, I created a complete CRUD Library API.
    In this video, we will continue with that project and add the pagination and the search functionality in this API in simple few steps.
    If you like this video make sure to subscribe and share, and stay tuned for more coding videos.

КОМЕНТАРІ • 15

  • @abdulwaris5496
    @abdulwaris5496 Рік тому +2

    Your content is fantastic! Your way of speaking is also perfect anyone can understand easily

  • @mahaburrahman1666
    @mahaburrahman1666 Рік тому

    Ofcourse best tutorial, i have evern seen
    thanks dude

  • @awaraamin6850
    @awaraamin6850 Рік тому

    The second one! Cheers man!

  • @allandasoaresdamataaraujo8393
    @allandasoaresdamataaraujo8393 2 місяці тому

    Thanks! This video helped me.

  • @md.arifulislamrony
    @md.arifulislamrony 11 місяців тому +2

    Thanks brother for the tutorial.
    For some reason I'm getting this error.
    Cannot find module 'express-serve-static-core' or its corresponding type declarations.
    Line: import { Query } from 'express-serve-static-core';
    [Update]
    Fixed: by installing `@types/express-serve-static-core`

    • @cleziomarcos8395
      @cleziomarcos8395 10 місяців тому +1

      try this...
      import { ParsedUrlQuery } from 'node:querystring';
      async getAll(@Query() query: ParsedUrlQuery): Promise {
      return this.bookService.findAll(query);
      }

  • @pallabsarkar6760
    @pallabsarkar6760 Рік тому

    Great content.

  • @ashishkumari-yg4gn
    @ashishkumari-yg4gn Рік тому

    Sir , we have implemented skip but have not used it yet

  • @lucasdamasceno7068
    @lucasdamasceno7068 Рік тому

    thanks bro, do you think is better working with nextjs ou angular ?

    • @codingwithabbas
      @codingwithabbas  Рік тому

      If you consider syntax, Angular is much closer to Nest. However, both are fine.

  • @abdulwaris5496
    @abdulwaris5496 Рік тому

    I still don't understand skip variables logic

    • @codingwithabbas
      @codingwithabbas  Рік тому +4

      If we have 5 results per page and when we go to page no 2, we have skip first 5 items (books in this case), that why we we need to calculate that.

    • @voidmann2544
      @voidmann2544 10 місяців тому

      Thank you very much ❤ I get it now