Backend development with Express
  • Welcome!
  • Intro to backend development with Express
    • Tutorial
      • Getting started
      • Step 1: Setting up your project
      • Step 2: Installing Express
      • Step 3: Building the server
      • Step 4: Communicating with the server
      • Step 5: Routing
      • Step 6: Serving static files
      • Step 7: Sending your blog post to your server
      • Step 8: Extracting the blog post
      • Step 9: Saving your blog post
      • Step 10: Displaying your blog posts
      • Congratulations!
    • Extras
      • More ideas
      • Individual Blog Posts
    • Keywords
    • Command-line cheatsheet
Powered by GitBook
On this page
  • client
  • dependencies
  • endpoint
  • fs
  • GET
  • handler function
  • JSON
  • method
  • middleware
  • module
  • npm
  • package.json
  • POST
  • port
  • repository
  • request
  • require
  • response
  • route / routing
  • server
  • static assets
  1. Intro to backend development with Express

Keywords

PreviousIndividual Blog PostsNextCommand-line cheatsheet

Last updated 6 years ago

client

requests services and information from the server. Typically, a client is a computer application, such as a web browser.

dependencies

Other code libraries that your project relies on. These are usually listed in your project's package.json file.

endpoint

The part of the URL which comes after /. For example: /chocolate is the "chocolate" endpoint.

fs

A core Node.js module for interacting with the file system on your computer.

GET

An HTTP method for fetching data. Read more

handler function

A function that receives requests and tells the server how to respond to them.

JSON

method

Method is another name for a function

middleware

module

npm

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.

package.json

The file used to store information about a Node.js project, such as its name and its dependencies.

POST

port

a number that serves as an endpoint, determining where you can access your web application.

repository

A place that code lives. You often hear people talk about Git/Github repositories.

request

the message sent via HTTP from the client to the server, asking for information

require

require is used in Node.js to import functionality from another file or an external module

response

the data sent back to the client from the server after an HTTP request is made.

route / routing

The definition of application endpoints and how they respond to client requests.

server

A software application which handles HTTP requests sent by the client, like web browsers, and returns web pages and information in response

static assets

Files such as HTML, CSS and JavaScript documents or images that you want to appear in the browser.

A format for storing and transporting data. Read more .

Functions in Express that run before the final request handler. A nice article explains in more depth .

a bit of reusable code, written by you or someone else, that can be imported into a Node.js project using

An HTTP method for sending data. Read more .

here
here
here
here
require