We have our Visual Studio Code Editor and our terminal available to us in our workspace.
To begin, we'll start with an empty folder labeled
tinyhouse_v1/ in our editor workspace.
tinyhouse_v1/ would be the directory where we build the app for the first part of our course. To get things started we're going to create a subfolder called
server within the
tinyhouse_v1/ project that would host the server portion of our app. We'll also go ahead and have an
index.js file be created within this
tinyhouse_v1/ server/ index.js
The node command
For our very first attempt, we're going to see how we could use
We're going to attempt to log something into our terminal console and the first thing we're going to look to log is a simple string that says
Next, we're going to create two constant variables. We're going to create a variable called
one and another called
two and assign them numerical values according to the variable name.