Create A Paginated API With Node.js - Complete Tutorial

Поділитися
Вставка
  • Опубліковано 13 гру 2024

КОМЕНТАРІ • 245

  • @hamzahahmad1670
    @hamzahahmad1670 4 роки тому +88

    This channel is criminally underrated. You should have blown up by now. Thank you for the quick and thorough explanations.

  • @liorocker1
    @liorocker1 5 років тому +172

    Video title should be "How to master backend pagination in 24 minutes"... Amazing demo in a very short time, learning with you really rocks man. Thank you :D

    • @WebDevSimplified
      @WebDevSimplified  5 років тому +36

      Thank you so much! I try to keep my videos as short as possible, even though sometimes they get a bit long like this video. I'm glad you enjoyed every minute of it, though. :)

    • @_.sunnyraj._
      @_.sunnyraj._ 4 роки тому +1

      *rock

    • @ishraq95
      @ishraq95 3 роки тому +4

      @@WebDevSimplified You are great man.. Thanks alot..

    • @mdmohiuddin3141
      @mdmohiuddin3141 3 роки тому +5

      24 minutes for WDS means 1 hour and 30 minutes for other

    • @021bethineedilakshmideepak4
      @021bethineedilakshmideepak4 2 роки тому +1

      @liorocker1 can we program pagination at the front end level?

  • @bastiaand
    @bastiaand 4 роки тому +9

    I appreciate how you dive deeper and show useful VS Code extensions and talk a little about async, await and promises. Great job!

  • @OstonCodeCypher
    @OstonCodeCypher 5 років тому +55

    That humble voice makes everything seem easy and indeed they were easy... Thanks for the tutorial,Stay Blessed

    • @WebDevSimplified
      @WebDevSimplified  5 років тому +8

      I'm really glad I could help.

    • @jordantaylor8549
      @jordantaylor8549 4 роки тому +1

      Yes I agree . I feel like a lot of creators underestimate this actually

  • @aeroprojects
    @aeroprojects 11 місяців тому

    Took only 4 minutes for WDS to build a simple yet working API with the minimal file structure 👍 man, you're always so concise and effective :) Exactly what I was looking for.

  • @rodrigom.castilho4095
    @rodrigom.castilho4095 4 роки тому +1

    Your didactics are simply amazing, man. It must be the 3rd or 4th time you solve an issue of mine in less than 1/3 of an already short video. AND you managed to solve another unrelated question in the meantime. Holy crap, you're an unsung hero.

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

    I like the explanatory style. It was simple yet abstracted enough that I watched this once and was able to immediately apply this to a Lambda function, no Express in my setup. Thank you

  • @Pareshbpatel
    @Pareshbpatel 3 роки тому

    A comprehensive tutorial on the pagination of data fetched from MongoDB. Smoothly and fluently presented. Thank you, Kyle.
    PS This has come very fortuitously when I most needed it! - It simply popped up on my UA-cam Home Page by some weird coincidence. :-)
    {2021-08-17}, {2022-07-16}, {2022-10-12}

  • @jiyoungyun7494
    @jiyoungyun7494 4 роки тому +7

    I would like to point out that in pagination, there are 2 techniques you can use. one is LIMIT/OFFSET approach, which this video shows. An alternative is KEYSET/SEEK method. It should be noted with LIMIT/OFFSET approach, your users will see some omitted/duplicate items in your pages when someone simultaneously adds/removes some data. So if you are implementing such as infinite scroll on a many-user web-app, go for KEYSET approach instead for stable data retrieval.

  • @fernwood
    @fernwood 2 роки тому

    The pacing of your videos is sublime.

  • @anmolpansari9817
    @anmolpansari9817 3 роки тому

    Web Dev Simiplified has really Simplified my life! Thank You for this amazing tutorial 😊

  • @dev-suresh
    @dev-suresh 8 місяців тому

    Thanks for the pagination tutorial. It helped me a lot in doing my interview assignments

  • @ravi_m249
    @ravi_m249 4 роки тому

    You are awesome. I was interning and was assigned this task. I was planning to quit but then this video happened. Thanks 3000

  • @darpananeja6755
    @darpananeja6755 2 роки тому

    Only one word for you mate, "Legendary!"!!

  • @joweltisso7365
    @joweltisso7365 2 роки тому

    This is what I exactly need to make a paginated API in mirage js, Thank a lot. Please keep up the good work.

  • @LexiumHub
    @LexiumHub 2 роки тому

    Bro u don't know how much I love your videos 😭 do simplified.

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

    This is quick, to the point, with excellent and easy explanations. Really enjoyed this and all of your videos ive come across. Thank you. Told all my classmates about your channel!

  • @ogtabuada
    @ogtabuada 4 роки тому +8

    Thank you for this. It's frightening how you made it easy to understand something that seems so complex. :)

  • @dgua2917
    @dgua2917 5 років тому +1

    After watching some of your old videos, I press "Like" first and then watch your latest videos.😎

  • @shruthibg75
    @shruthibg75 2 роки тому

    Thanks for the amazing short , crisp video. You have explained to the point.

  • @gajendra1987
    @gajendra1987 4 роки тому +1

    Everything here from explanation to coverage on this concept is picture perfect 👍.

  • @RobertWildling
    @RobertWildling 4 роки тому +1

    Very impressiv!! Downvoters should leave a reason as to why they downvote - because I do not see any reason!

  • @thezionjohnson3590
    @thezionjohnson3590 2 роки тому

    2022 and this is still Fantastic!

  • @gregorychamekh8143
    @gregorychamekh8143 12 днів тому

    That's exactly what I am searching for!

  • @ramadhanbridge97
    @ramadhanbridge97 5 років тому +4

    Awesome, how can someone dare to dislike video like this?

    • @WebDevSimplified
      @WebDevSimplified  5 років тому +3

      Some mysterious the world will never know the answer to :P

  • @HamKibz
    @HamKibz 3 роки тому

    Thanks, man I needed this for a personal project.

  • @megaplay871
    @megaplay871 3 роки тому

    I really love how he just make it simple

  • @julianaamerico3722
    @julianaamerico3722 3 роки тому

    I always learn so much from your videos! You're a really great teacher. Keep on keeping on! 👍

  • @eogutier
    @eogutier 2 роки тому

    This is spectacularly well done and explained. Holy cow!

  • @vibhasvaid
    @vibhasvaid 3 роки тому

    Youngman you are great ! your videos are excellent and very clear.

  • @saarang4637
    @saarang4637 4 роки тому

    Great video. Helped me clearly understand the pagination in one shot. Superb!!!
    Thank you!!

  • @dnextreme
    @dnextreme 3 роки тому

    Loved how he explained the simple yet powerful pagination concept in Node.js! Thank you very much. +subbed

  • @andresaparicio7962
    @andresaparicio7962 4 роки тому

    you are a great instructor man!!

  • @ajcoder2795
    @ajcoder2795 4 роки тому

    Kyle 😀.. You makes things easy honestly. 👍..Stay happy and blessed mate

  • @itsharshcheema
    @itsharshcheema 4 місяці тому

    what an explanation, loved it

  • @jenniferruiz1032
    @jenniferruiz1032 2 роки тому

    Thank you, bro!! You are very clear teaching!

  • @huckbit
    @huckbit 5 років тому +1

    Amazing tutorial, very clear and simple to follow. Thanks a lot!

  • @maskman4821
    @maskman4821 5 років тому

    This is an awesome tutorial, I understand first part - pagination api, I am not a mongodb user. Mr. Kyle Cook is truly a master !!!

    • @WebDevSimplified
      @WebDevSimplified  5 років тому

      Thank you so much! This could be used with another DB such as Postgres pretty easily if you prefer.

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

    Thank you so much!

  • @manikandand2541
    @manikandand2541 2 роки тому

    thank you sir its really graet to meet u again in my journey

  • @nadaadeclarification
    @nadaadeclarification 2 роки тому

    insane class, straight and killer.

  • @BraveHearts237
    @BraveHearts237 2 роки тому

    Thanks this was very helpful

  • @wPatrickGale
    @wPatrickGale 3 роки тому

    SO helpful! Thank you for putting this together.

  • @surendrajadhav5565
    @surendrajadhav5565 2 роки тому

    wow .....this video helped me alot ...thanks for making this type of tutorial/video
    👍

  • @ЕвгенийТ-ч8в
    @ЕвгенийТ-ч8в Рік тому

    Thank you.
    There is a tiny mistake on 9:20 tho.
    The condition is always true because the length of the array is always greater than any of the inlexes.
    lastIndex < model.length - 1 should work better.

  • @brecoldyls
    @brecoldyls 5 років тому +1

    Thanks so much for these videos Kyle, I really learn a lot from them 😃

  • @prashantsharmaofficiall
    @prashantsharmaofficiall 2 роки тому

    Hey Kyle, you provide us gold at worth of iron.
    You are Truly a great Developer.

  • @firojsiddiki2750
    @firojsiddiki2750 4 роки тому

    thank you WEB DEV SIMPLIFIED, you explained me exacltly what i wanted and how i wanted it be explained.

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

    Ur videos are in the most understandable way compared to others. Thanks you so much.. and i was hoping that is there any way that you create a video about pgination with Search bar.. pls 🙏

  • @SACHIN-gd6zy
    @SACHIN-gd6zy 5 років тому

    Hands down, incredible video

  • @soufiane_krem
    @soufiane_krem 3 роки тому

    That was quite helpful ! Great Video

  • @compiletelevision2561
    @compiletelevision2561 5 років тому +2

    Please create more node js APIs on nodejs and mongodb or create complete node js back end APIs with mongodb. Good tutorial

    • @WebDevSimplified
      @WebDevSimplified  5 років тому

      Thanks! I have plans to make more Node.js tutorials for sure.

  • @trickstamil7857
    @trickstamil7857 2 роки тому

    thank you so much......Way of explanation was awesome.......

  • @closed482
    @closed482 4 роки тому

    You are awesome. The way of explanation is awesome

  • @muhammadyaqoob8000
    @muhammadyaqoob8000 3 роки тому

    Great Instructor.

  • @alimodz6253
    @alimodz6253 4 роки тому

    man I learned more than I needed thanks!

  • @fendipratama4792
    @fendipratama4792 3 роки тому

    you saved my life bro, thanks in advance

  • @kcdiazWTV
    @kcdiazWTV 2 роки тому

    Awesome tutorial. Thank you.

  • @ekings2119
    @ekings2119 4 роки тому

    Simple and Clean, thank you so much.

  • @shivamgoyal7717
    @shivamgoyal7717 3 роки тому

    Thanks Man, You helped me a lottttt to understand this concept and of course in the one go, Means a lot to me, Again Thanks Have a Great Day!

  • @jayanthit8616
    @jayanthit8616 3 роки тому

    Thank You its very use full and very clear.

  • @명재국-j9d
    @명재국-j9d 3 роки тому

    thank you!! this is awesome!!! 형 덕분에 막혔던 부분 뻥 뚫렸습니다.

  • @claudiuciprianbetiuc3985
    @claudiuciprianbetiuc3985 4 роки тому

    Amazing demo! Thanks!

  • @albertbarsegyan3865
    @albertbarsegyan3865 2 роки тому

    every time you are save me bro, thank you

  • @NaveenKumar-ue6oc
    @NaveenKumar-ue6oc 2 роки тому

    you saved my time,thanks

  • @Behold-the-Florist
    @Behold-the-Florist 4 роки тому

    Brilliant explanation, thank you!

  • @ameenschools
    @ameenschools 2 роки тому

    I always wonder why your logical thinking and solutions are concise and to the point?? do u have an explanation for that and how can a person feel that confident about programming??? what sources you use what university you attended???

  • @illiamedvedev6210
    @illiamedvedev6210 5 років тому

    thanks for your tutorial, you explained it all very simple and clear

  • @hoquang1386
    @hoquang1386 3 роки тому

    thank you very much for great content, handsome developer.

  • @Jenna2643
    @Jenna2643 3 роки тому

    This is amazing! Thank you!

  • @its_just_me_
    @its_just_me_ 5 років тому

    woohoooo!!! splendid bro... that's so much of information in an expense of only 23minutes!!! keep it up bro!! Love from India

    • @WebDevSimplified
      @WebDevSimplified  5 років тому +1

      You are very welcome! My goal is to make all my videos as short and full of information as possible.

  • @namangarg3933
    @namangarg3933 5 років тому

    Awesome explanation man!!

  • @tijanisylla1348
    @tijanisylla1348 2 роки тому

    I love this guy !

  • @navinyele2814
    @navinyele2814 4 роки тому

    This is really amazing sir.......

  • @sorcererstone3303
    @sorcererstone3303 4 роки тому +1

    Can someone explain why at 7:33, results array is being used twice "results.results = users.slice(startIndex, endIndex)"? One should be enough right? Why the code use dot to link the 2 results terms together?

  • @williamjog93
    @williamjog93 3 роки тому

    Amazing, thank you!

  • @simonoldenhove9386
    @simonoldenhove9386 3 роки тому

    Thank you for everything.

  • @expertvinicius
    @expertvinicius 2 роки тому

    Omg! It's so easy, thank you so much my friend. But, I'm gonna do that without Express, because I 'hate' Express hahaha. =)

  • @alanprogressive
    @alanprogressive 4 роки тому

    thanks for share! excelent explanation!!!

  • @vaninarayan2826
    @vaninarayan2826 2 роки тому

    Thanks for your amazing content

  • @keithvaneaton5840
    @keithvaneaton5840 4 роки тому +1

    This is fantastic, thank you for your very clear teaching.
    Any chance you have available or could produce a pagination tutorial explaining the process of pulling data from a public API (not from a database) and paginating those results?

  • @rebarius
    @rebarius 2 роки тому

    Thank you so much ❤️🙌🏼

  • @angrypug4387
    @angrypug4387 2 роки тому

    God bless you, bro!

  • @phenomenal-hardy4438
    @phenomenal-hardy4438 2 роки тому

    thanks a lot, im subscribing this video really helps

  • @sebdaniel4029
    @sebdaniel4029 5 років тому

    You're awesome ! Thanks a lot for each video 🙇‍♂️

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

    Awesome, thanks!

  • @aidarousjibril6323
    @aidarousjibril6323 4 роки тому

    Great video kyle, always learn something from you, do you've any video about combinig different APIS in Node please ?

  • @dhruvhar1683
    @dhruvhar1683 4 роки тому

    You are awesome, Thanks a lot for this video

  • @hectoralvarado9778
    @hectoralvarado9778 3 роки тому

    -you are the best! thanks

  • @MuhammadWaqas-ux1zu
    @MuhammadWaqas-ux1zu 5 років тому +1

    this is amazing . you are awesome. thanks you so much. make easy for us :)

  • @maxiequa567
    @maxiequa567 5 років тому

    It was all I had hoped for and so much more, thank you!!

  • @guddetiajaymanikanta
    @guddetiajaymanikanta 5 років тому +1

    Love u bro...!! From india..!!🇮🇳🇮🇳🇮🇳

  • @derrickberg2825
    @derrickberg2825 4 роки тому

    Think you could make a video on using Datatables? I'm trying to do server side processing with MongoDB with pagination. Also trying to figure out how to add buttons to each row that would change a field and a button to display a field that isn't in the table with a modal popup. Love the videos man!

  • @GuilhermeHenrique-vo1sk
    @GuilhermeHenrique-vo1sk 3 роки тому

    thanks very much broww !, u did help me a lot

  • @ReinaldoTrindade
    @ReinaldoTrindade 4 роки тому

    This is gold!

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

    Great video!
    I've just a dubt though, Isn't putting previous/next infos in the response violating REST statelessness?

  • @johnconnor9787
    @johnconnor9787 3 роки тому

    Great video

  • @parasarora5869
    @parasarora5869 5 років тому

    best pagination tutorial !!...loved this one. Thank you very much !!! ✌✌

  • @EdgarLindo
    @EdgarLindo 2 роки тому

    How do you display that in the frontend?

  • @thedeveloper643
    @thedeveloper643 3 роки тому

    this is it! thank you so muchhh