programmingintermediate

Node.js & Express Essentials

Master backend development with Node.js and Express framework

7 cardsFlashcardMaker0 clones
Clone this Deck & Start Studying

Flashcards (7)

Card 1

What is Node.js?

Node.js is a JavaScript runtime built on Chrome's V8 engine that allows you to run JavaScript on the server side.
Card 2

What is Express.js?

Express is a minimal and flexible Node.js web application framework that provides features for web and mobile applications.
Card 3

What is middleware in Express?

Middleware functions have access to request, response, and next() function. They can execute code, modify req/res, end request-response cycle, or call next middleware.
Card 4

What is the difference between app.get() and app.use() in Express?

app.get() handles GET requests for a specific route. app.use() mounts middleware that runs for all HTTP methods and can match route prefixes.
Card 5

What is npm and what is package.json?

npm is Node Package Manager for installing packages. package.json is a manifest file containing project metadata, dependencies, and scripts.
Card 6

What is the event loop in Node.js?

Card 7

What are environment variables and how to use them?

Related Decks