Workspace
  • Study Book
  • WEB Network HTTP etc
    • Performance Optimization
    • Performance Optimization
    • HTTP/2 & SPDY
    • WebSocket
    • HTTP Header
    • Cross-Origin Resource Sharing
    • JSON, XML, other format
  • Javascript
    • Promise
    • make API call
    • Web API
    • Common JS
    • AJAX
    • Event DOM and delegation
    • ES6 new features
    • special function
    • function API
  • React
    • class component
    • Example
    • Lifting functions/ state up
    • Hot Loader
    • Testing
    • New Features
    • Hook
    • Simple code
    • Life Cycle
  • CSS
    • Horizontal & Vertical Align
    • GPU Animation
    • transform-function
    • LVHA Pseudo-classes
    • Selector
    • How To CSS
  • HTML
  • Redux
  • NodeJS
    • File System
  • express
    • express questions
    • express mongodb
  • Restful API
  • MongoDB
  • Compare
  • Test
    • Jest
  • Deploy development
  • coding question
  • DevOps
  • Webpack
  • GraphQL
Powered by GitBook
On this page

Was this helpful?

  1. express

express questions

What is Express.js

Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.

What type of web application can built using Express.js?

you can build single-page, multi-page, and hybrid web applications, as well as RestFUL APIs.

What are core features of Express framework?

  • It allows middleware set up to respond HTTP Requests

  • It defines routing table which is used to achieve action based on HTTP Method and URL.

  • It allows dynamically generate the HTML Pages based on passing arguments to the templates.

  • It follows MVC architecture for web application.

What is middleware in Express.js?

Middleware is a function that accesses the request object (req), response object (res), and access next middleware function in application's request-response cycle. The next middleware function is represented by variable called 'next'.

What is 'next' in Express.js?

'next' is a parameter which is passed in middleware function to pass control to next middleware or handler.

What is routing?

Routing define how an application responds over client request to a particular endpoint (URI). Endpoint is specially a path and any one of HTTP request methods (GET, POST, etc).

app.METHOD(PATH,HANDLER)
PreviousexpressNextexpress mongodb

Last updated 5 years ago

Was this helpful?