1
00:00:00,740 --> 00:00:03,500
So now the first thing that will do is create a reactor.

2
00:00:04,400 --> 00:00:09,260
And thanks to Facebook that it is fairly simple to do if you just move into the GitHub repository or

3
00:00:09,260 --> 00:00:13,720
create React app or Facebook, you will see all you all that you need to create your.

4
00:00:14,540 --> 00:00:18,230
These three commands and be created that powered by the name of the app.

5
00:00:18,980 --> 00:00:22,850
Then you are to move into the app and then just your npm started to launch your app.

6
00:00:23,120 --> 00:00:28,790
Now, before we create a react to a beta because it's right, the first of them is that you need to

7
00:00:28,790 --> 00:00:34,310
have node installed in the system unless and until you do this and become and won't work.

8
00:00:35,150 --> 00:00:39,650
And so let's just create an app as well as you need to have a right.

9
00:00:39,650 --> 00:00:42,860
So open up a command prompt or terminal if you are on a Mac.

10
00:00:46,240 --> 00:00:51,730
So we have a command prompt right in front of us, and the commander right is NBC's create.

11
00:00:53,330 --> 00:00:53,900
React.

12
00:00:54,740 --> 00:00:58,700
At followed by the name of the app, in this case, this is an expense tracker.

13
00:01:02,890 --> 00:01:04,930
So let's just name it expense tracker.

14
00:01:05,920 --> 00:01:07,180
And then just hit enter.

15
00:01:07,660 --> 00:01:10,570
It is going to take some amount of time to create a reactor.

16
00:01:11,620 --> 00:01:18,550
Meanwhile, you have to wait and once it's done, we'll just move into an app by Siri command and then

17
00:01:18,550 --> 00:01:20,410
just launch us ed.

18
00:01:20,800 --> 00:01:22,120
In my case, it as we escort.

19
00:01:22,540 --> 00:01:28,710
If you're using Atom or any other data, feel free to open your ETA by moving into that repository or

20
00:01:28,720 --> 00:01:29,860
that particular folder.

21
00:01:38,170 --> 00:01:43,060
So once the app is complete, your screen might show up like mine is showing right now.

22
00:01:44,050 --> 00:01:47,920
Now I'd like to discuss do's and don'ts of making a React app, for example.

23
00:01:48,430 --> 00:01:51,190
I just need my React app as expense tracker, right?

24
00:01:51,400 --> 00:01:53,170
So what would have happened if I just.

25
00:01:55,660 --> 00:01:57,450
All uppercase letter of E!

26
00:01:58,680 --> 00:02:01,530
It is going to throw us an error I'm going to tell in advance because.

27
00:02:02,580 --> 00:02:05,600
We just can't use a bogus little while making a reactor.

28
00:02:05,900 --> 00:02:07,550
So what will happen if I just hit enter?

29
00:02:08,450 --> 00:02:09,680
We are going to see an error.

30
00:02:10,370 --> 00:02:12,590
So let's just push them downwards.

31
00:02:14,390 --> 00:02:19,870
It is going to take some time, and it was going to throw an error that we just can't make our reactive

32
00:02:19,880 --> 00:02:24,830
with a carpet of uppercase letter in it name cannot have an uppercase letter.

33
00:02:26,170 --> 00:02:31,290
So here is an error, it says, that cannot create a project named as expense tracker because the npm

34
00:02:31,360 --> 00:02:35,080
naming restrictions name can no longer contain capital letters.

35
00:02:35,410 --> 00:02:40,570
So just try to remember this just don'tI anemia app with uppercase letter.

36
00:02:40,810 --> 00:02:42,160
So now let's just move into Iraq.

37
00:02:42,220 --> 00:02:49,330
As you might see that the other step to create React app was just create React app, then card to your

38
00:02:49,330 --> 00:02:51,340
app, followed by the name of the app.

39
00:02:51,460 --> 00:02:53,920
So the name of my app is expense tracker, right?

40
00:02:54,160 --> 00:02:54,460
So.

41
00:02:56,160 --> 00:02:58,710
Expense structure is getting better.

42
00:02:59,490 --> 00:03:04,260
So now you might see that I am moving to expense treasurer, and if you're having Visual Studio code

43
00:03:04,260 --> 00:03:11,940
installed, then just run code and it will just open up a Waskow instance of that particular app.

44
00:03:13,020 --> 00:03:17,280
So hit enter and it is going to open about vascular node modules.

45
00:03:17,280 --> 00:03:21,480
With this Publix start up, we have known modules, we have public folder.

46
00:03:21,690 --> 00:03:27,480
We have sourced directly our creative industries associated because we are going to deploy our app from

47
00:03:27,480 --> 00:03:29,130
this section, we are going to treat changes.

48
00:03:29,130 --> 00:03:31,230
We are going to create components in our tools directly.

49
00:03:31,740 --> 00:03:33,270
If we just take a look at the node modules.

50
00:03:33,270 --> 00:03:39,840
It contains node packages like Babbel and all, as well as all the packages that will be installing

51
00:03:39,840 --> 00:03:41,280
during our project, for example.

52
00:03:41,280 --> 00:03:43,410
In this case, we are going to be installing material UI.

53
00:03:44,610 --> 00:03:46,230
So just close it.

54
00:03:47,910 --> 00:03:49,080
It is a very long list.

55
00:03:49,530 --> 00:03:50,970
Now if just take a look at public.

56
00:03:51,630 --> 00:03:54,000
It contains the icon, the integrity, extremists.

57
00:03:54,720 --> 00:03:58,560
And if we just take a look at source, we have Abdul Aziz Abdul Jesus.

58
00:03:59,580 --> 00:04:01,140
Now let's take a look at our bridges.

59
00:04:02,190 --> 00:04:04,040
So you can just open at Abdul just fine.

60
00:04:05,040 --> 00:04:06,750
What will see a functional component?

61
00:04:09,670 --> 00:04:12,580
So this is a religious file as a candidate, as a functional component.

62
00:04:12,940 --> 00:04:15,040
It is a class name app and all that stuff.

63
00:04:15,250 --> 00:04:17,380
So now let's give it our first try.

64
00:04:17,500 --> 00:04:18,640
So just open up a terminal.

65
00:04:19,090 --> 00:04:24,970
You can open a terminal by clicking on the Terminal tab and create a new terminal, all by a shortcut

66
00:04:24,970 --> 00:04:27,430
to a shortcut key being displayed on your screen.

67
00:04:29,650 --> 00:04:36,790
Now, before we move any further, let's just do a bit of housekeeping, and that is let's remove Abdul

68
00:04:36,820 --> 00:04:39,270
Gas-Fired Abdul test dog.

69
00:04:39,310 --> 00:04:39,700
Sorry.

70
00:04:42,510 --> 00:04:45,960
So now to be starting about I've just come on and started this.

71
00:04:46,200 --> 00:04:48,240
This is going to launch our app.

72
00:04:49,080 --> 00:04:51,060
So just start and hit enter.

73
00:04:51,090 --> 00:04:52,740
Now it's going to take some time to deploy it up.

74
00:04:52,950 --> 00:04:54,840
And once it's done, we'll set up.

75
00:04:58,440 --> 00:05:08,360
So this is a device that will get from the Create React app only see the React logo rotating and learn

76
00:05:08,370 --> 00:05:10,800
react that is going to take you to react documentation.

77
00:05:11,010 --> 00:05:11,490
Edit it.

78
00:05:11,490 --> 00:05:16,560
I was here just to say we don't know if we go back to that app and if you want to close the server,

79
00:05:16,860 --> 00:05:22,590
just type control policy and you'll get a prompt saying that they want to close it up, then just press

80
00:05:22,590 --> 00:05:22,710
two.

81
00:05:22,710 --> 00:05:24,630
Yes, and this is going to pull us over.

82
00:05:25,170 --> 00:05:30,930
Now, if I just go back and try to reload my, if I just go back and try to reload my app, it will

83
00:05:30,930 --> 00:05:32,270
say that the site cannot be reached.

84
00:05:32,300 --> 00:05:33,680
It's because the servers had been closed.

85
00:05:33,730 --> 00:05:36,600
Right now, let's discuss what is happening.

86
00:05:36,600 --> 00:05:43,150
So this is Abdul fine, whatever we're going to write and this is going to be compiled and sent to index

87
00:05:43,150 --> 00:05:43,770
judges.

88
00:05:44,850 --> 00:05:47,310
Which, in turn is calling out are gorgeous.

89
00:05:49,770 --> 00:05:51,810
Now you might see that app is being called here.

90
00:05:51,930 --> 00:05:53,700
And if are wondering what these strict modes are?

91
00:05:54,240 --> 00:05:59,460
Well, the strict mode is a way to render application more safely that.

92
00:06:05,390 --> 00:06:09,770
So this is the point of contact between us and not just an individual, just fine.

93
00:06:10,400 --> 00:06:15,400
So now before we move any further and start creating it up, let's do a bit of housekeeping.

94
00:06:15,410 --> 00:06:17,930
So just delete this Abdul 10 just fine.

95
00:06:18,350 --> 00:06:22,070
As well as advertisers satisfied and logo 3G.

96
00:06:22,760 --> 00:06:27,590
So this is these are three files are the ones that are really leading now because we do not need them.

97
00:06:29,930 --> 00:06:30,980
So just delete them.

98
00:06:43,770 --> 00:06:45,030
And a logo not as big.

99
00:07:04,060 --> 00:07:05,350
No, winter abaji is.

100
00:07:08,910 --> 00:07:13,770
And just remove all that in there, except the parent plus.

101
00:07:14,990 --> 00:07:17,320
Just remove all this hit save.

102
00:07:18,290 --> 00:07:23,420
And will just remove the logo because we have deleted it and we have no requirement of it, as well

103
00:07:23,420 --> 00:07:25,940
as at outdoor theaters because they have deleted both of these.

104
00:07:27,380 --> 00:07:28,520
OK, then it's safe.

105
00:07:28,700 --> 00:07:30,080
So now will be starting up at up.
