1
00:00:00,150 --> 00:00:00,780
Welcome back.

2
00:00:01,230 --> 00:00:06,570
Now what we need to do is that we need to clear the project folder and in order to create a project

3
00:00:06,570 --> 00:00:11,950
folder, I recommend getting it in a location where it's easy for you to find.

4
00:00:11,970 --> 00:00:14,100
So I'm going to get it on my desktop.

5
00:00:14,610 --> 00:00:18,030
So on my desktop here, I'm going to get a new folder.

6
00:00:18,030 --> 00:00:22,740
I'm going to say new file, new folder, and then I'm going to say Project.

7
00:00:26,740 --> 00:00:35,830
And then we need to open this in a fixed ED. I'm using some sublime text, so I'm just going to drag

8
00:00:35,830 --> 00:00:41,350
this folder and drop it on on on some line text and it will be opened in some line text.

9
00:00:42,190 --> 00:00:45,400
The next step is that we need to create our first file.

10
00:00:45,700 --> 00:00:47,760
So here I'm going to create a new file.

11
00:00:47,770 --> 00:00:55,420
I'm going to click right click and then I'm going to say new file, and then I'm going to click on control

12
00:00:55,420 --> 00:00:56,050
and save.

13
00:00:56,530 --> 00:01:03,670
And then I'm going to save this file as main got be white, main that be white and then click on Save.

14
00:01:04,180 --> 00:01:08,230
And now we have a file called Mean that be white inside the project.

15
00:01:08,920 --> 00:01:11,940
Now we need to start typing the first code.

16
00:01:12,610 --> 00:01:15,910
So first of all, the first thing that we need to type is that we need to import.

17
00:01:16,630 --> 00:01:19,150
We need to import the first API.

18
00:01:19,570 --> 00:01:30,070
So here at the top, I'm going to say before I'm going to say from fast API import.

19
00:01:33,380 --> 00:01:34,010
Fast.

20
00:01:36,150 --> 00:01:39,180
Fast API and then.

21
00:01:41,480 --> 00:01:48,620
And then what I'm going to do is that I'm going to say art is equal to fast API.

22
00:01:50,630 --> 00:01:55,580
And then this is the first thing we need to do is that we need to create an object of this fast API

23
00:01:55,580 --> 00:01:57,920
and store it in a valuable gold app.

24
00:01:58,610 --> 00:02:00,550
And then we need to create our first.

25
00:02:00,560 --> 00:02:01,190
You are ill.

26
00:02:01,640 --> 00:02:03,860
So the first you are ill to create, the first you are ill.

27
00:02:03,860 --> 00:02:14,360
We need to say at App Dot Get and then we need to specify the your or else they are ill or ill should

28
00:02:14,360 --> 00:02:15,560
point to for us.

29
00:02:15,960 --> 00:02:17,600
Nothing we add just for us.

30
00:02:18,380 --> 00:02:19,790
And this is going to point to them.

31
00:02:19,910 --> 00:02:21,920
You are ill without any parameters.

32
00:02:21,950 --> 00:02:22,620
You just for.

33
00:02:24,740 --> 00:02:30,800
Second, we need to specify the function that is working here, the function that is going to be executed

34
00:02:30,800 --> 00:02:32,670
upon going through this ordeal.

35
00:02:33,080 --> 00:02:39,470
So I'm going to say async, async, as you can see, and we're going to be using the async syntax,

36
00:02:40,070 --> 00:02:47,150
async keyword and then I'm going to say async and then there and then the name of the function.

37
00:02:47,150 --> 00:02:48,470
So I'm going to say Root.

38
00:02:49,460 --> 00:02:52,130
And then inside that function, we can return.

39
00:02:53,970 --> 00:03:03,310
Jason, or an object or it's called in in in Python is also known as dictionary, you can name its object

40
00:03:03,310 --> 00:03:03,940
dictionary.

41
00:03:03,940 --> 00:03:08,050
It doesn't matter, but it has the same syntax as any programming language.

42
00:03:08,620 --> 00:03:12,340
So it's a double or curly brackets.

43
00:03:12,760 --> 00:03:13,720
Curly brackets.

44
00:03:14,200 --> 00:03:17,590
And then inside we pass key and value pairs.

45
00:03:18,880 --> 00:03:24,760
So here I'm going to say a message, and then I'm going to say welcome.

46
00:03:25,690 --> 00:03:26,320
That's it.

47
00:03:26,890 --> 00:03:33,280
And now we need to save and save all, and now we need to run this in the browser.

48
00:03:33,700 --> 00:03:39,660
So to run this, what I'm going to do is that we need to type.

49
00:03:39,670 --> 00:03:44,380
The following are we need to type the following command to run this file.

50
00:03:45,040 --> 00:03:49,810
First, we need to head on over or change directory to this project.

51
00:03:50,080 --> 00:03:57,020
Because here I'm using I'm pointing to the desktop, so we need to say C D, and then I need to see

52
00:03:57,160 --> 00:04:02,080
C D to Project Project underscore underscore.

53
00:04:02,080 --> 00:04:06,760
Because my project folder is called Project Underscore Underscore.

54
00:04:07,060 --> 00:04:14,140
If your project is called say, I don't know, maybe it's maybe it's just a project, or maybe it's

55
00:04:14,140 --> 00:04:15,280
my project.

56
00:04:15,280 --> 00:04:19,300
You need to say my project, my project.

57
00:04:19,750 --> 00:04:25,090
Of course you need first to say C, D and then desktop, because it's it's on my desktop.

58
00:04:25,690 --> 00:04:32,230
But since I am already on my desktop here, it says see no such file or directory because I'm already

59
00:04:32,560 --> 00:04:33,310
in my desktop.

60
00:04:33,790 --> 00:04:41,080
So the first thing is that you need to say CD desktop and then you need to say the and then type the

61
00:04:41,080 --> 00:04:43,390
name of the the name of the folder.

62
00:04:43,390 --> 00:04:47,170
So my folder is project underscore underscore.

63
00:04:47,650 --> 00:04:58,720
Then you need to type the following command you need to say you the eye corner and the mean and then

64
00:04:58,720 --> 00:04:59,650
call an app.

65
00:05:01,590 --> 00:05:03,750
And then high fat, high calorie lot.

66
00:05:08,090 --> 00:05:09,110
And then hit enter.

67
00:05:09,500 --> 00:05:16,280
And if you hit enter, as you can see, this is going to start the server race server one two seven

68
00:05:16,280 --> 00:05:21,260
zero zero zero point zero point zero point one eight thousand.

69
00:05:21,290 --> 00:05:22,220
You need to copy this.

70
00:05:22,220 --> 00:05:25,070
You are ill and then you need to head on over to the browser.

71
00:05:25,820 --> 00:05:29,000
So I'm using I'm using Google Chrome.

72
00:05:29,000 --> 00:05:30,170
I'm going to paste this.

73
00:05:30,170 --> 00:05:31,550
You are ill and then hit enter.

74
00:05:31,940 --> 00:05:36,880
And as you can see, what I'm going to get is that I'm going to get this key value pair, which is message

75
00:05:36,890 --> 00:05:37,430
welcome.

76
00:05:37,880 --> 00:05:44,150
So this is the basic good that we need and that we learned now, which is that you are ill.

77
00:05:44,180 --> 00:05:45,570
You need to specify they were ill.

78
00:05:45,590 --> 00:05:49,970
Ask for a slash and the function that will be executed upon going through this.

79
00:05:49,970 --> 00:05:56,060
You are ill, which is this function, which is this very simple function that is going to return this

80
00:05:56,060 --> 00:05:56,480
message.

81
00:05:56,480 --> 00:05:56,990
Welcome.

82
00:05:57,590 --> 00:06:03,170
And now if you go to four slash, you are going to get this message welcome.
