Server-side JS with Node.js

Server-side JS with Node.js

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

npm

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 (28)

Section 1

(28 cards)

npm

Front

Node.js package manager

Back

NERDS stack

Front

Node.js, Express, React, and Databases

Back

package.json

Front

In Node applications, package.json is a file that communicates to npm how your application is structured

Back

Node.js stream

Front

Streams are a first-class construct in Node.js for handling data.

Back

Loosely coupled

Front

Each component should depend on other components as little as possible (a component depends on another component when it is required inside of it)

Back

Cohesive

Front

When the attributes and methods of an application are aligned towards doing things in the same domain.

Back

One-To-One Associations

Front

A relationship between two models such that object A connects to one and only one of object B and Object B connects to only one of A, such as a User object and a ProfileData object.

Back

Many-To-Many Associations

Front

A relationship between two models such that object A can connect to multiple object Bs and B can connect to multiple As. For example a User can buy multiple Item objects and Item objects can be purchased by multiple User objects.

Back

Synchronous

Front

Blocking, means that your code runs in sequential order. The program waits for the line of code to execute before moving on to the next line of code.

Back

Authentication vs. Authorization

Front

Authentication proves users are who they claim to be. Authorization establishes permissions for specific users or groups of users.

Back

Source

Front

the object where your data comes from

Back

Node.js

Front

A powerful server-side Javascript platform for building "fast, scalable network applications." Continually processes incoming requests without waiting for responses.

Back

Asynchronous

Front

Non-blocking, means your code does not wait for the current line to execute before moving onto the next line.

Back

Module

Front

A self-contained component that is intended to perform a function and be portable enough to swap in and out as needed.

Back

TDD

Front

Test-driven development, a process that relies on a short repetition cycle in which the developer writes an automated test case for a new feature or function, then produces the minimum amount of code to pass that test.

Back

CRUD

Front

Create, Read, Update, Delete

Back

MEAN Stack

Front

MongoDB (a leading NoSQL database), Express (a minimal and flexible Node.js web application framework, Angular, and Node.js

Back

BDD

Front

Behavior Driven Development: a set of practices that aims to reduce common wasteful activities in software development and encourages collaboration between developers.

Back

Pipeline

Front

where your data passes through (you can filter or modify it here)

Back

Passport

Front

A stateful session-based authentication system which stores session information client and server side using cookies

Back

One-To-Many Associations

Front

A relationship between two models such that object A conencts to one and only one of object B, and object B connects to one or more of object A. For example, A User table and Images table in which each user might have multiple images, but an image can only belong to one user (using a userID foreign key).

Back

package

Front

A set of files constituting a tool you can include in your application

Back

sequelize

Front

A promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server featuring transaction support, relations, eager and lazy loading, and read replication. Supports Node v6 and above to use ES6 features.

Back

Isomorphic JavaScript

Front

Javascript that can run both client-side and server-side. Makes applications more efficient, faster, more stable, and SEO.

Back

Sink

Front

Where your data ends up

Back

Server-side Javascript

Front

Code that runs on a server, backend code. Handles requests from the client and sends response data.

Back

Sequelize

Front

A promise-based ORM (object relational mapping) that allows us to define models, set up associations, generate migrations, and run raw SQL queries

Back

ORM

Front

Object Relational Mapping, similar to a translation service, provides a way for developers to manipulate a database using a language other than SQL

Back