Skip to content

Add to readme how this differs from Express, and some history #1145

@bburns

Description

@bburns

I came across this repo and didn't understand how it differed from Express. This has some answers - https://stackoverflow.com/questions/5284340/what-is-node-js-connect-express-and-middleware

So, maybe could add something like this to the readme -

Connect is a minimalist middleware framework that basically extends Node.js's built-in http module. It provides a way to organize and chain "middleware" functions, through the "use" method.

Middleware functions are functions that have access to the request object (req), the response object (res), and the next middleware function in the application's request-response cycle.

Express is a more comprehensive web application framework that also supports routing and template engines. It was initially built on top of Connect - their middleware is still compatible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions