requests services and information from the server. Typically, a client is a computer application, such as a web browser.
Other code libraries that your project relies on. These are usually listed in your project's package.json
file.
The part of the URL which comes after /
. For example: /chocolate
is the "chocolate" endpoint.
A core Node.js module for interacting with the file system on your computer.
An HTTP method for fetching data. Read more here
A function that receives requests and tells the server how to respond to them.
A format for storing and transporting data. Read more here.
Method is another name for a function
Functions in Express that run before the final request handler. A nice article explains in more depth here.
a bit of reusable code, written by you or someone else, that can be imported into a Node.js project using require
npm is a "package manager" for Node.js, meaning it allows you to easily install external modules (or chunks of code) published by others and use them in your project.
The file used to store information about a Node.js project, such as its name and its dependencies.
An HTTP method for sending data. Read more here.
a number that serves as an endpoint, determining where you can access your web application.
A place that code lives. You often hear people talk about Git/Github repositories.
the message sent via HTTP from the client to the server, asking for information
require
is used in Node.js to import functionality from another file or an external module
the data sent back to the client from the server after an HTTP request is made.
The definition of application endpoints and how they respond to client requests.
A software application which handles HTTP requests sent by the client, like web browsers, and returns web pages and information in response
Files such as HTML, CSS and JavaScript documents or images that you want to appear in the browser.