Skip to content
A node-based router that emulates the Express.js router
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Add callback to listen method Feb 28, 2019
.gitignore Initial commit Feb 22, 2019
.prettierrc.json Initial commit Feb 22, 2019 Add README Feb 23, 2019
index.js Add user example Feb 23, 2019
package-lock.json Initial commit Feb 22, 2019
package.json Rename app.js to index.js Feb 23, 2019

Understanding Express.js: Creating Your Own Node HTTP Request Router

This repository accompanies the article "Understanding Express.js: Creating Your Own Node HTTP Request Router." The repository contains a do-it-yourself node router that emulates the functionality of the Express.js router.


To install this project, first clone the repository:

git clone

Install the dependencies using npm:

npm i

Run the App

Run the app using node:

node .

To see the app in action, navigate to the following url's in your web browser of choice:

You can’t perform that action at this time.