Time to code! Let's create our project skeleton

1 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€42.62
List Price:  €59.67
You save:  €17.05
£36.75
List Price:  £51.45
You save:  £14.70
CA$67.97
List Price:  CA$95.16
You save:  CA$27.19
A$69.41
List Price:  A$97.18
You save:  A$27.77
S$63.69
List Price:  S$89.17
You save:  S$25.48
HK$391.67
List Price:  HK$548.37
You save:  HK$156.70
CHF 39.05
List Price:  CHF 54.67
You save:  CHF 15.62
NOK kr464.72
List Price:  NOK kr650.65
You save:  NOK kr185.92
DKK kr318.69
List Price:  DKK kr446.19
You save:  DKK kr127.50
NZ$84.77
List Price:  NZ$118.68
You save:  NZ$33.91
د.إ183.58
List Price:  د.إ257.03
You save:  د.إ73.45
৳6,135.03
List Price:  ৳8,589.53
You save:  ৳2,454.50
₹4,744.57
List Price:  ₹6,642.78
You save:  ₹1,898.21
RM198.46
List Price:  RM277.86
You save:  RM79.40
₦68,785.24
List Price:  ₦96,304.84
You save:  ₦27,519.60
₨13,935.96
List Price:  ₨19,511.46
You save:  ₨5,575.50
฿1,626.32
List Price:  ฿2,276.98
You save:  ฿650.65
₺2,256.67
List Price:  ₺3,159.52
You save:  ₺902.84
B$247.64
List Price:  B$346.72
You save:  B$99.07
R835.39
List Price:  R1,169.62
You save:  R334.22
Лв83.41
List Price:  Лв116.78
You save:  Лв33.37
₩73,551.28
List Price:  ₩102,977.68
You save:  ₩29,426.40
₪147.15
List Price:  ₪206.03
You save:  ₪58.87
₱3,063.13
List Price:  ₱4,288.63
You save:  ₱1,225.49
¥7,852.07
List Price:  ¥10,993.53
You save:  ¥3,141.46
MX$872.72
List Price:  MX$1,221.88
You save:  MX$349.16
QR182.13
List Price:  QR255
You save:  QR72.87
P660.19
List Price:  P924.32
You save:  P264.13
KSh6,456.20
List Price:  KSh9,039.20
You save:  KSh2,583
E£2,681.45
List Price:  E£3,754.24
You save:  E£1,072.79
ብር7,847.18
List Price:  ብር10,986.68
You save:  ብር3,139.50
Kz45,890.82
List Price:  Kz64,250.82
You save:  Kz18,360
CLP$44,941.01
List Price:  CLP$62,921.01
You save:  CLP$17,980
CN¥341.34
List Price:  CN¥477.90
You save:  CN¥136.56
RD$2,974.40
List Price:  RD$4,164.40
You save:  RD$1,190
DA6,621.74
List Price:  DA9,270.97
You save:  DA2,649.22
FJ$109.58
List Price:  FJ$153.42
You save:  FJ$43.84
Q381.99
List Price:  Q534.82
You save:  Q152.83
GY$10,460.52
List Price:  GY$14,645.56
You save:  GY$4,185.04
ISK kr6,132.77
List Price:  ISK kr8,586.37
You save:  ISK kr2,453.60
DH462.46
List Price:  DH647.49
You save:  DH185.02
L857.31
List Price:  L1,200.31
You save:  L342.99
ден2,627.69
List Price:  ден3,678.98
You save:  ден1,051.28
MOP$403.46
List Price:  MOP$564.87
You save:  MOP$161.41
N$832.83
List Price:  N$1,166.03
You save:  N$333.20
C$1,835.13
List Price:  C$2,569.33
You save:  C$734.20
रु7,588.66
List Price:  रु10,624.73
You save:  रु3,036.07
S/175.33
List Price:  S/245.48
You save:  S/70.15
K216.89
List Price:  K303.66
You save:  K86.77
SAR187.46
List Price:  SAR262.46
You save:  SAR74.99
ZK942.12
List Price:  ZK1,319.04
You save:  ZK376.92
L221.86
List Price:  L310.62
You save:  L88.76
Kč1,039.12
List Price:  Kč1,454.86
You save:  Kč415.73
Ft15,494.07
List Price:  Ft21,692.94
You save:  Ft6,198.87
SEK kr461.32
List Price:  SEK kr645.89
You save:  SEK kr184.56
ARS$69,621.47
List Price:  ARS$97,475.63
You save:  ARS$27,854.16
Bs345.49
List Price:  Bs483.72
You save:  Bs138.22
COP$180,954.91
List Price:  COP$253,351.36
You save:  COP$72,396.44
₡22,732.21
List Price:  ₡31,826.91
You save:  ₡9,094.70
L1,330.73
List Price:  L1,863.13
You save:  L532.40
₲312,269.53
List Price:  ₲437,202.33
You save:  ₲124,932.80
$U2,014.81
List Price:  $U2,820.89
You save:  $U806.08
zł181.43
List Price:  zł254.01
You save:  zł72.58
Already have an account? Log In

Transcript

Let's create a directory for our project. And let's enter inside this directory called npm init. To create a package dot JSON file, it's a good practice to initialize a get repository before but it's not part of this course. Write down some info following the process. Now we are going to install the basic modules required by our project. We have already seen these modules in the previous lesson.

Let's create the index.js file to check if you're ready to go. The first thing we do is to define a server port for example 5000. We are going to require the Express module and we create the expert app. According to the previous lesson, we are going to listen on the specific port. We are just logging something in the terminal calling node index.js. We are going to see server running

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.