Skip to content
A node-based router that emulates the Express.js router
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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
README.md 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

README.md

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.

Installation

To install this project, first clone the repository:

git clone https://github.com/nas5w/diy-node-router.git

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.