Тёмный
No video :(

Create A Paginated API With Node.js - Complete Tutorial 

Web Dev Simplified
Подписаться 1,6 млн
Просмотров 195 тыс.
50% 1

Опубликовано:

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 250   
@hamzahahmad1670
@hamzahahmad1670 4 года назад
This channel is criminally underrated. You should have blown up by now. Thank you for the quick and thorough explanations.
@WebDevSimplified
@WebDevSimplified 4 года назад
Thanks. I feel my channel has already blown up
@liorocker1
@liorocker1 4 года назад
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 4 года назад
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 года назад
*rock
@ishraq95
@ishraq95 3 года назад
@@WebDevSimplified You are great man.. Thanks alot..
@mdmohiuddin3141
@mdmohiuddin3141 3 года назад
24 minutes for WDS means 1 hour and 30 minutes for other
@021bethineedilakshmideepak4
@021bethineedilakshmideepak4 2 года назад
@liorocker1 can we program pagination at the front end level?
@OstonCodeCypher
@OstonCodeCypher 5 лет назад
That humble voice makes everything seem easy and indeed they were easy... Thanks for the tutorial,Stay Blessed
@WebDevSimplified
@WebDevSimplified 5 лет назад
I'm really glad I could help.
@jordantaylor8549
@jordantaylor8549 4 года назад
Yes I agree . I feel like a lot of creators underestimate this actually
@bastiaand
@bastiaand 3 года назад
I appreciate how you dive deeper and show useful VS Code extensions and talk a little about async, await and promises. Great job!
@jiyoungyun7494
@jiyoungyun7494 3 года назад
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.
@bhupinderbhattarai244
@bhupinderbhattarai244 2 года назад
can you provide me source how to implement KEYSET approach?
@aeroprojects
@aeroprojects 8 месяцев назад
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.
@RobertWildling
@RobertWildling 4 года назад
Very impressiv!! Downvoters should leave a reason as to why they downvote - because I do not see any reason!
@rodrigom.castilho4095
@rodrigom.castilho4095 3 года назад
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.
@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 RU-vid Home Page by some weird coincidence. :-) {2021-08-17}, {2022-07-16}, {2022-10-12}
@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
@dev-suresh
@dev-suresh 5 месяцев назад
Thanks for the pagination tutorial. It helped me a lot in doing my interview assignments
@well_done_07
@well_done_07 9 месяцев назад
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 🙏
@LexiumHub
@LexiumHub 2 года назад
Bro u don't know how much I love your videos 😭 do simplified.
@dgua2917
@dgua2917 5 лет назад
After watching some of your old videos, I press "Like" first and then watch your latest videos.😎
@WebDevSimplified
@WebDevSimplified 5 лет назад
Nice!
@anmolpansari9817
@anmolpansari9817 2 года назад
Web Dev Simiplified has really Simplified my life! Thank You for this amazing tutorial 😊
@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
@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!
@compiletelevision2561
@compiletelevision2561 5 лет назад
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.
@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.
@ogtabuada
@ogtabuada 4 года назад
Thank you for this. It's frightening how you made it easy to understand something that seems so complex. :)
@gajendra1987
@gajendra1987 4 года назад
Everything here from explanation to coverage on this concept is picture perfect 👍.
@ramadhanbridge97
@ramadhanbridge97 5 лет назад
Awesome, how can someone dare to dislike video like this?
@WebDevSimplified
@WebDevSimplified 5 лет назад
Some mysterious the world will never know the answer to :P
@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???
@fernwood
@fernwood Год назад
The pacing of your videos is sublime.
@user-rn5cl2fr8b
@user-rn5cl2fr8b Год назад
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.
@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. =)
@shruthibg75
@shruthibg75 2 года назад
Thanks for the amazing short , crisp video. You have explained to the point.
@darpananeja6755
@darpananeja6755 2 года назад
Only one word for you mate, "Legendary!"!!
@surendrajadhav5565
@surendrajadhav5565 Год назад
wow .....this video helped me alot ...thanks for making this type of tutorial/video 👍
@julianaamerico3722
@julianaamerico3722 3 года назад
I always learn so much from your videos! You're a really great teacher. Keep on keeping on! 👍
@manikandand2541
@manikandand2541 2 года назад
thank you sir its really graet to meet u again in my journey
@itsharshcheema
@itsharshcheema Месяц назад
what an explanation, loved it
@dnextreme
@dnextreme 3 года назад
Loved how he explained the simple yet powerful pagination concept in Node.js! Thank you very much. +subbed
@thezionjohnson3590
@thezionjohnson3590 2 года назад
2022 and this is still Fantastic!
@eogutier
@eogutier 2 года назад
This is spectacularly well done and explained. Holy cow!
@saarang4637
@saarang4637 4 года назад
Great video. Helped me clearly understand the pagination in one shot. Superb!!! Thank you!!
@ajcoder2795
@ajcoder2795 4 года назад
Kyle 😀.. You makes things easy honestly. 👍..Stay happy and blessed mate
@vibhasvaid
@vibhasvaid 3 года назад
Youngman you are great ! your videos are excellent and very clear.
@firojsiddiki2750
@firojsiddiki2750 3 года назад
thank you WEB DEV SIMPLIFIED, you explained me exacltly what i wanted and how i wanted it be explained.
@brecoldyls
@brecoldyls 4 года назад
Thanks so much for these videos Kyle, I really learn a lot from them 😃
@huckbit
@huckbit 4 года назад
Amazing tutorial, very clear and simple to follow. Thanks a lot!
@sorcererstone3303
@sorcererstone3303 4 года назад
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?
@prashantsharmaofficiall
@prashantsharmaofficiall 2 года назад
Hey Kyle, you provide us gold at worth of iron. You are Truly a great Developer.
@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!
@nadaadeclarification
@nadaadeclarification Год назад
insane class, straight and killer.
@megaplay871
@megaplay871 2 года назад
I really love how he just make it simple
@HamKibz
@HamKibz 3 года назад
Thanks, man I needed this for a personal project.
@trickstamil7857
@trickstamil7857 2 года назад
thank you so much......Way of explanation was awesome.......
@jenniferruiz1032
@jenniferruiz1032 2 года назад
Thank you, bro!! You are very clear teaching!
@wPatrickGale
@wPatrickGale 3 года назад
SO helpful! Thank you for putting this together.
@andresaparicio7962
@andresaparicio7962 3 года назад
you are a great instructor man!!
@keithvaneaton5840
@keithvaneaton5840 4 года назад
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?
@albertbarsegyan3865
@albertbarsegyan3865 2 года назад
every time you are save me bro, thank you
@BraveHearts237
@BraveHearts237 2 года назад
Thanks this was very helpful
@user-jg7zo2jx2x
@user-jg7zo2jx2x 3 года назад
thank you!! this is awesome!!! 형 덕분에 막혔던 부분 뻥 뚫렸습니다.
@muhammadyaqoob8000
@muhammadyaqoob8000 3 года назад
Great Instructor.
@NaveenKumar-ue6oc
@NaveenKumar-ue6oc 2 года назад
you saved my time,thanks
@BlueHat1
@BlueHat1 7 месяцев назад
Thank you so much!
@closed482
@closed482 4 года назад
You are awesome. The way of explanation is awesome
@SACHIN-gd6zy
@SACHIN-gd6zy 4 года назад
Hands down, incredible video
@ekings2119
@ekings2119 4 года назад
Simple and Clean, thank you so much.
@illiamedvedev6210
@illiamedvedev6210 4 года назад
thanks for your tutorial, you explained it all very simple and clear
@alimodz6253
@alimodz6253 4 года назад
man I learned more than I needed thanks!
@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.
@jayanthit8616
@jayanthit8616 3 года назад
Thank You its very use full and very clear.
@fendipratama4792
@fendipratama4792 3 года назад
you saved my life bro, thanks in advance
@soufiane_krem
@soufiane_krem 3 года назад
That was quite helpful ! Great Video
@yeinnarayana2644
@yeinnarayana2644 5 лет назад
hello... I'm on the middle learning Reactjs, can you show us how the best practice to create a search with paginated logic in react&redux while it collecting the data from API (mongoose or laravel API server)? some advice would be appreciated :D Thanks for sharing an incredible tutorial from youtube
@WebDevSimplified
@WebDevSimplified 5 лет назад
I have a video on a paginated pokemon app in React that gets its data from an API.
@yeinnarayana2644
@yeinnarayana2644 5 лет назад
@@WebDevSimplified I don't expecting you replied here even with high number subs :D keep up the good work !!!!!!
@MinhNguyen-zx8me
@MinhNguyen-zx8me 4 года назад
This is really great. Thank you very much Kyle. I have learnt a lot. However, there is a little gotcha in this solution. In the query, we still try to query for all results in a collection before doing any filters (limit and skip. Assume that you have a really big collection, thousands or millions records, this query could take time to execute. Do you know of there is any way that we address this issue ? Again, thanks Kyle !!!
@hoquang1386
@hoquang1386 3 года назад
thank you very much for great content, handsome developer.
@tijanisylla1348
@tijanisylla1348 2 года назад
I love this guy !
@phenomenal-hardy4438
@phenomenal-hardy4438 2 года назад
thanks a lot, im subscribing this video really helps
@MuhammadWaqas-ux1zu
@MuhammadWaqas-ux1zu 4 года назад
this is amazing . you are awesome. thanks you so much. make easy for us :)
@vaninarayan2826
@vaninarayan2826 2 года назад
Thanks for your amazing content
@MeAsMeButMe
@MeAsMeButMe 4 года назад
Brilliant explanation, thank you!
@aidarousjibril6323
@aidarousjibril6323 4 года назад
Great video kyle, always learn something from you, do you've any video about combinig different APIS in Node please ?
@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!
@angrypug4387
@angrypug4387 2 года назад
God bless you, bro!
@kcdiazWTV
@kcdiazWTV 2 года назад
Awesome tutorial. Thank you.
@sebdaniel4029
@sebdaniel4029 4 года назад
You're awesome ! Thanks a lot for each video 🙇‍♂️
@claudiuciprianbetiuc3985
@claudiuciprianbetiuc3985 4 года назад
Amazing demo! Thanks!
@hectoralvarado9778
@hectoralvarado9778 3 года назад
-you are the best! thanks
@Jenna2643
@Jenna2643 2 года назад
This is amazing! Thank you!
@selahadinjemal7138
@selahadinjemal7138 Год назад
Awesome, thanks!
@GuilhermeHenrique-vo1sk
@GuilhermeHenrique-vo1sk 3 года назад
thanks very much broww !, u did help me a lot
@FabioDBB
@FabioDBB 10 месяцев назад
Great video! I've just a dubt though, Isn't putting previous/next infos in the response violating REST statelessness?
@ptlh1969
@ptlh1969 4 года назад
Thanks.... nice tutorial. its not compulsory but would prefer semicolon at the end. what do you think? :-)))
@bizimungupascal2200
@bizimungupascal2200 3 года назад
Fantastic!!!!!!
@rebarius
@rebarius 2 года назад
Thank you so much ❤️🙌🏼
@jivanmainali1742
@jivanmainali1742 4 года назад
What is the purpose of exec as things work without it also
@anuoluwapodavid476
@anuoluwapodavid476 2 года назад
Hello ..Thanks for the video..Is there a way you could make it work on the front end and not just for API Also If you can make a video on load more.
@williamjog93
@williamjog93 3 года назад
Amazing, thank you!
@unblockd
@unblockd 4 года назад
Great tutorial, really easy to follow to learn new things. One question I have though, how to get the total number of pages available depending on the current page and limitation ? Thanks.
@noroi_289
@noroi_289 2 года назад
I know it is kinda late, but do you still need an answer for that?
@sagar140
@sagar140 2 года назад
@@noroi_289 hello, i am in need of the answer .can you help
@navinyele2814
@navinyele2814 4 года назад
This is really amazing sir.......
@dhruvhar1683
@dhruvhar1683 3 года назад
You are awesome, Thanks a lot for this video
@simonoldenhove9386
@simonoldenhove9386 3 года назад
Thank you for everything.
@nathancullen1724
@nathancullen1724 4 года назад
Hi best tutorial I've seen for pagination! Quick question though, in your mongoose example you're finding all results inside a collection, I've got some some routes where I want to paginate every results and then I've got other routes where I'm queering the collection for specific results that I then want to paginate, how would I handle that in the middleware? Thank you
@alanprogressive
@alanprogressive 4 года назад
thanks for share! excelent explanation!!!
@namangarg3933
@namangarg3933 5 лет назад
Awesome explanation man!!
@WebDevSimplified
@WebDevSimplified 5 лет назад
Thanks
@ReinaldoTrindade
@ReinaldoTrindade 4 года назад
This is gold!
Далее
JWT Authentication Tutorial - Node.js
27:36
Просмотров 1 млн
3d printed demon core vs real
00:24
Просмотров 7 млн
Simple Frontend Pagination | React
19:13
Просмотров 479 тыс.
Web API Pagination | Offset-based vs Cursor-based
11:03
JavaScript Pagination in ~10 Minutes (Super EASY!!)
13:06
How To Manage User Roles In Node.js
22:45
Просмотров 308 тыс.
Learn Express Middleware In 14 Minutes
14:48
Просмотров 396 тыс.
Node.js App From Scratch | Express, MongoDB & Google OAuth
2:28:43