Skip to playerSkip to main content
  • 2 hours ago
আজকের এই ভিডিওতে আমি দেখিয়েছি কিভাবে Node.js এবং Express.js ব্যবহার করে
একটি Get All Data API এবং Single Book API তৈরি করতে হয়।

এই টিউটোরিয়ালে আপনি শিখবেন কিভাবে server থেকে সব book data একসাথে পাঠাতে হয়
এবং কিভাবে specific id অনুযায়ী একটি single book এর data return করতে হয়।

🎯 In this video you will learn:

Express server এ API route তৈরি করা

GET method ব্যবহার করা

All books data return করা

Dynamic route parameter ব্যবহার করা

Single book API তৈরি করা

req.params.id দিয়ে specific data খুঁজে বের করা

JSON response পাঠানো

এই ভিডিওটি backend development এবং REST API শেখার জন্য খুবই important,
বিশেষ করে যারা Node.js, Express.js, MongoDB বা full stack web development শিখছেন তাদের জন্য।

Category

📚
Learning
Transcript
00:28Assalamualaikum
00:30i peduli
00:30cS
00:31i peduli
00:31i peduli
00:32e peduli
00:32i peduli
00:33i peduli
00:36i peduli
00:40So, now we fix it.
00:42So, now we fix it.
00:43So, now we fix it.
00:45Now we fix it.
00:46Now we fix it.
00:46Now we fix it.
00:47Now, we install the NPM install G, which means Global Node Mode.
01:03Now we install it.
01:05Thay ah e tb A mho raqta jini use kore dhe bori shtwt vh save dev notmon
01:09Thay ah e tb tiếp open date nudda jnao
01:10So i t-okoliv aori aemro ite hi gori globali aemrandar computer ee thigege javay so aemra j e khantthe
01:14ke yuse koroboh
01:15Nordmon dhake so i gantthe ke jekon o projekte ee rakast koroboh
01:18Thay ah e shtwt vh aemro aemro chole javod terminal rye terminal rye terminal rye
01:21Terminal rye prathimere aemro ite off koree control c dhye off kolam
01:23Ite aemro npm install g global notmon di enter dhila mp
01:28It's very simple.
01:30This is very simple.
01:33So, install the pass package.
01:36But if you run it you will get it.
01:38You want to run it.
01:39Which you want?
01:40We will get it.
01:41Note index.js.
01:43Now we will get it.
01:45Note is next.
01:49.js.
01:51Now we will get it.
01:53Watch the path
01:57json json file via json and then launch
02:04on the page
02:05on the page
02:07the page
02:08for a umbrella climate change no soon and soon as a guy coming soon boom boom a to
02:13crack on save column eventually the key reload the again children i guess and i'm
02:19ready to have a terminal of the key terminal the clickable age that can put
02:21talking to office you know so that's a lot of way of working the starting note
02:25the index days for sapata chaloo is it yes so you should be a person but yeah
02:30mother g we start to chilo it already correct the solution to it i'm not
02:34a
02:36so i'm not last step up a book at the present course you can have the way
02:41a girl a data to listen to the to amy the other to the other content is actually
02:44amy here never to forward forward forward forward forward forward forward forward forward forward
02:47the name of the books
02:49data dot jason file at all the other way i amy just we just found file and data
02:55color copy gore the name yes it just over a sugar don't know for a birthday
03:00house chamranran the other one that about the money and the other one that's when
03:04Also, the dataquest file is not going to go to the file.
03:10In this file, I will confirm that the request is required from the file.
03:13The file is required, because the files are required.
03:26I am going to show you the same thing.
03:46This is the same thing.
03:46I will show you the same thing.
03:47.
03:47.
03:48.
03:48.
03:48.
03:49.
03:50.
03:50.
03:50.
03:51.
03:51.
03:52So, we are going to save.
03:54Now we are going to save.
03:57We will create App.Get.
03:59We will create App.Get.
04:02We will create App.Get.
04:04We will create App.Get.
04:09So we will create the callback function.
04:12and
04:16the
04:17the
04:17response
04:22the
04:22the
04:23the
04:24the
04:24the
04:35is
04:37I did the work because I'm ready to go with it. Okay, you know, this is an answer for I'm
04:42gonna I can a constant during books books ID books I did watch books in the books is
04:51someone someone I'm lucky girl. Well, I'm under the books as a manager son fellow
04:54say that we took a books dot params params dot another book ID it up there enough yes
05:09I'm not sure I'm under the pool of the other day. I'm not sure I'm not going to get
05:13responses only response dot send responses for more because I'm not saying
05:21working away I can not actually mother book category books I'm not a guy mother
05:33This is the browser, which we have seen in our books,
05:39BWO KS Books.
05:41But we have the whole JSON file.
05:46Dynamically, we have the same book ID as well.
05:52So, this is the same book ID as well.
05:56books slash
05:57at id dynamically
05:59what are we doing
06:03we are going to do
06:04app.get
06:06app.get
06:09get
06:09dynamically
06:12books
06:14semicolon
06:16book id
06:18book id
06:20this is
06:22callback function
06:23callback function
06:25this is
06:27request
06:28response
06:30this is
06:35id
06:36that
06:37that
06:37is
06:40book
06:44i
06:46i
06:59i
07:00i
07:08i
07:09i
07:10i
07:14i
07:15i
07:16i
07:16i
07:16i
07:16i
07:17i
07:17i
07:17i
07:18i
07:19i
07:30i
07:45i
07:53i
07:55i
07:55i
07:56i
07:56i
07:56i
07:56i
07:56i
07:58i
08:00i
08:00i
08:02i
08:03i
08:10i
08:20i
08:22i
08:23i
08:27i
08:29i
08:29i
08:36i
08:46i
08:48i
08:48i
08:52i
08:55i
08:59i
09:00i
09:04i
09:12i
09:21i
09:24i
09:25i
09:27i
09:32i
09:32i
09:33i
09:33i
09:33i
09:33i
09:33i
09:45i
09:46i
10:01i
10:01i
10:01i
10:03i
10:03i
10:03i
10:03i
10:03i
10:03i
10:03i
10:11i
10:13i
10:14i
10:28i
10:29i
10:30i
10:31i
10:31i
10:33i
10:33i
10:33i
10:33i
10:33i
10:33i
10:36i
10:38i
10:40i
10:42i
10:45i
10:48i
10:50i
10:54i
10:55i
10:59i
11:02i
11:03i
11:05i
11:15i
11:17i
11:18i
11:20i
11:22i
11:22i
11:23i
11:24i
11:24i
11:38i
11:41i
11:42i
11:47i
11:48i
11:52i
11:53i
11:54i
11:56i
11:56i
11:56i
11:56i
11:56i
12:11i
12:14i
12:14i
12:15i
12:24i
12:24i
12:24i
12:24i
12:24i
12:24i
12:24i
12:24i
12:25i
12:25i
12:26i
12:27i
12:31i
12:38i
12:52i
12:54i
12:54i
12:55i
12:55i
12:55i
13:00i
13:01i
13:01i
13:01i
13:24i
13:25i
13:25i
13:25i
13:25i
Comments

Recommended