-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.md(ENVIRONMENT SET UP)
53 lines (27 loc) · 1.14 KB
/
README.md(ENVIRONMENT SET UP)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Environmental Setup
===================
1) download and install NodeJS
- npm is the tool, used to install the ReactJS.
- npm stands for Node Packaging Manager.
- npm present in NodeJS.
2) install "create-react-app" tool
- create-react-app is the tool used to create the ReactJS Applications.
- we will install create-react-app tool by using following command.
> npm install -g create-react-app
- "-g" stands for global installation
3) install Visual Studio Code.
"VSCode" is the IDE, provided by Microsoft.
"VSCode" IDE, Recomended IDE to Develop ReactJS Applications.
4) install yarn tool.
> npm install -g yarn
Create and Execute the First React Application
==============================================
1) create the react application
> npx create-react-app first-app --template typescript
- npx stands for node packaging runner.
- npx present in NodeJS.
2) switch to react application
> cd first-app
3) execute the react application
> yarn start
- default port number of react application is 3000.