Lesson 1: Getting started with Node.js

Lesson 1: Getting started with Node.js

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

Big Practical

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (10)

Section 1

(10 cards)

Big Practical

Front

Do Exercise

Back

One Big Practical

Front

Do exercise

Back

Creating a Hello web application with express

Front

Express provides the ability to define routes by using app.Method() syntax, in which Method is the HTTP method, or verb.

Back

Fast forward to express

Front

What about authentication? It doesn't make sense for you to create this framework when you can install a more streamlined framework. The express web application framework for node.js is available at http://expressjs.com/.

Back

Fast forward to express - 2

Front

This framework is also referred to as expressjs or simply express. In this book, it will be referred to as express. The express framework provides a thin layer of features over Node.js, where performance is maintained.

Back

Do Practical

Front

Do Exercises

Back

Intro

Front

The Node.js platform is built on the Google Chrome JavaScript runtime for easily building fast, scalable network applications. Using Node.js, you can write JavaScript that executes on the back-end server.

Back

Creating a Node.js package

Front

A Node.js package, also known as an application, is a collection of modules with a manifest that describes the package and its dependencies and can be publicly and privately published for you and others to use. After you publish your package, you can use the node package manager (npm) to install a package. The package can be installed in a single application you're creating or globally for use with many applications.

Back

Do Practical

Front

Do Exercise

Back

Installing Node.js

Front

The Node.js installer adds the Node.js and npm folder locations to the path environment setting so you can open the command prompt window easily and run the program.

Back