-
Make a new folder called Calculator on your Desktop
-
Change Directory to this new folder
-
Inside the Calculator folder, create a new file called calculator.js
-
Set up a new NPM package
-
Open the project folder in VScode
-
Using NPM install the express module
-
Require express in your calculator.js
-
Setup express
-
Create a root route get method with app.get()
-
Send the words Hello World from the root route as the response
-
Spin up our server on port 3000 with app.listen
-
Run server with nodemon