Course Banner

Node References

Introduction

In our class we will build a backend-focused application using Node as the base software and supplementing it with a variety of additional packages (e.g. Express, EJS, etc...). In order to have a reference to those that we will use this week, refer to each of the items listed below. These links are to the official sites and/or documentation for each of the items to be used.

Reference links

Node
See Introduction to Node. Node is the underlying software for server-side JavaScript. Look through the various topics in the Learn section of the website.
PnPM
See PnPM. PnPM is a package manager, meaning it is used to add packages to Node, such as Express, and manage them. It has advantages over other package managers. Watch the YouTube video on the home page to see some of those advantages. When done, click the "Get Started" button on the home page, then click the "Usage > pnpm CLI" links on the left bar. Pay particular attention to the Commands listed in the table at the bottom of this page.
Express
See Express Home. Express is "web framework" that works with Node to make building web applications easier. Refer to the Guide and Getting started sections of the site.
EJS (Embedded JavaScript templating)
See EJS home. This is also a Node package, specifically for building views (web pages) dynamically on the server and sending content to the browser using those views. Take some time and scroll down through the content to get a feel of how EJS works.
Express EJS Layouts
See EJS Layouts in openbase. This is not the official site for this package, but it is beneficial for seeing examples and reading documentation (see the navigation panel on the left). This package adds functionality to EJS, for implementing layouts into views and modularizing content. Spend some time looking through the items in the left navigation panel.