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 https://github.com/nas5w/diy-node-router.git
Install the dependencies using npm
:
npm i
Run the app using node:
node .
To see the app in action, navigate to the following url's in your web browser of choice: