First Day - Setting up my environment and watching intro videos on YouTube

Today I :

Setting up my Environement

I have set up a local GIT repository for my Back-End course work. I have also decided to use VS Code as my development environment.

My repository will have separate folders for the course assignments:

I will be skipping the Git tutorials as I have some Git experience from another course.

I have already set up Git on my machine. I made an initial commit to my new Git ropo, and pushed to GitHub.

Back-end

REST Intro

Watched this video on YouTube.

NodeJS Tutorial

Project home page: NodeJs.org

This course uses version 12. I believe I have this version already installed on my machine.

% node --version
v0.12.7

Tutorial video. OK this is a long one…

Create an HTTP server from scratch without Express, then deploy to Heroku. Covers modules such as as path, url, fs, events.

Node is a JavaScript Runtime.

Recommended to know first:

Learned that the best use cases and types of projects for Node are those that are not CPU intensive:

NPM - Node Package manager

The tutorial project

Npm did not add the package dependencies in the package.json file. I tried with –save but nothing happens. I decided to update my npm .. but it didn’t work without updating node, too. I’ll probably have some problems later on as I am not using the recommended version 12. I don’t want to spend time on this right now. Watching this video is slow…

Dev dependencies

npm install -D nodemon

Created a .gitignore with folder node_modules. No need to check these into VCS. npm install will recreate the directory.