November 2017
Intermediate to advanced
298 pages
7h 10m
English
For this component, we will pick a framework with a minimal amount of boilerplate needed to get a service up and operational, which most people would say today is Node.js with Express. Since Node.js is based on JavaScript, which was originally based on a Java-like syntax, most people who worked on HTML should be able to figure out what the application code is be doing, but before we get there, we need to define our Node package and our dependencies, so create a new application_server directory on the same level as web_server and add the following to a file called package.json:
{ "name": "application-server", "version": "0.0.1", "scripts": { "start": "node index.js" }, "dependencies": { "express": "^4.15.4" }}
There's ...
Read now
Unlock full access