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.92
List Price:  €60.09
You save:  €17.17
£37.64
List Price:  £52.70
You save:  £15.06
CA$69.76
List Price:  CA$97.67
You save:  CA$27.91
A$75.95
List Price:  A$106.33
You save:  A$30.38
S$64.74
List Price:  S$90.64
You save:  S$25.90
HK$389.15
List Price:  HK$544.85
You save:  HK$155.69
CHF 40.08
List Price:  CHF 56.11
You save:  CHF 16.03
NOK kr504.60
List Price:  NOK kr706.48
You save:  NOK kr201.88
DKK kr320.59
List Price:  DKK kr448.86
You save:  DKK kr128.26
NZ$87.06
List Price:  NZ$121.89
You save:  NZ$34.83
د.إ183.58
List Price:  د.إ257.03
You save:  د.إ73.45
৳6,095.20
List Price:  ৳8,533.77
You save:  ৳2,438.56
₹4,509.30
List Price:  ₹6,313.38
You save:  ₹1,804.08
RM206.23
List Price:  RM288.74
You save:  RM82.51
₦72,221.55
List Price:  ₦101,115.95
You save:  ₦28,894.40
₨14,091.25
List Price:  ₨19,728.89
You save:  ₨5,637.63
฿1,596
List Price:  ฿2,234.53
You save:  ฿638.53
₺2,121.84
List Price:  ₺2,970.74
You save:  ₺848.90
B$266.79
List Price:  B$373.53
You save:  B$106.74
R854.91
List Price:  R1,196.95
You save:  R342.03
Лв83.98
List Price:  Лв117.58
You save:  Лв33.60
₩73,261.85
List Price:  ₩102,572.45
You save:  ₩29,310.60
₪162.05
List Price:  ₪226.88
You save:  ₪64.83
₱2,945.33
List Price:  ₱4,123.70
You save:  ₱1,178.37
¥7,779.57
List Price:  ¥10,892.02
You save:  ¥3,112.45
MX$913.13
List Price:  MX$1,278.46
You save:  MX$365.32
QR182.31
List Price:  QR255.24
You save:  QR72.93
P666.61
List Price:  P933.31
You save:  P266.69
KSh6,471.20
List Price:  KSh9,060.20
You save:  KSh2,589
E£2,375.43
List Price:  E£3,325.80
You save:  E£950.36
ብር7,704.01
List Price:  ብር10,786.23
You save:  ብር3,082.22
Kz45,603.90
List Price:  Kz63,849.11
You save:  Kz18,245.21
CLP$46,188.76
List Price:  CLP$64,667.96
You save:  CLP$18,479.20
CN¥353.15
List Price:  CN¥494.44
You save:  CN¥141.29
RD$3,148.75
List Price:  RD$4,408.50
You save:  RD$1,259.75
DA6,506.01
List Price:  DA9,108.94
You save:  DA2,602.92
FJ$113.28
List Price:  FJ$158.60
You save:  FJ$45.32
Q382.10
List Price:  Q534.97
You save:  Q152.87
GY$10,435.60
List Price:  GY$14,610.67
You save:  GY$4,175.07
ISK kr6,386.72
List Price:  ISK kr8,941.92
You save:  ISK kr2,555.20
DH461.54
List Price:  DH646.20
You save:  DH184.65
L849.45
List Price:  L1,189.30
You save:  L339.84
ден2,647.67
List Price:  ден3,706.95
You save:  ден1,059.28
MOP$400.03
List Price:  MOP$560.07
You save:  MOP$160.04
N$854.22
List Price:  N$1,195.98
You save:  N$341.75
C$1,835.55
List Price:  C$2,569.92
You save:  C$734.36
रु7,180.33
List Price:  रु10,053.04
You save:  रु2,872.70
S/168.23
List Price:  S/235.54
You save:  S/67.30
K211.47
List Price:  K296.08
You save:  K84.60
SAR187.60
List Price:  SAR262.66
You save:  SAR75.05
ZK1,146.01
List Price:  ZK1,604.51
You save:  ZK458.49
L218.44
List Price:  L305.84
You save:  L87.39
Kč1,035.88
List Price:  Kč1,450.31
You save:  Kč414.43
Ft16,339.95
List Price:  Ft22,877.24
You save:  Ft6,537.29
SEK kr469.82
List Price:  SEK kr657.79
You save:  SEK kr187.96
ARS$72,809.49
List Price:  ARS$101,939.12
You save:  ARS$29,129.62
Bs344.68
List Price:  Bs482.59
You save:  Bs137.90
COP$189,836.84
List Price:  COP$265,786.76
You save:  COP$75,949.92
₡24,562.83
List Price:  ₡34,389.94
You save:  ₡9,827.10
L1,314.14
List Price:  L1,839.91
You save:  L525.76
₲345,934.44
List Price:  ₲484,335.90
You save:  ₲138,401.45
$U1,966.87
List Price:  $U2,753.78
You save:  $U786.90
zł181.59
List Price:  zł254.24
You save:  zł72.65
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.