Skip to content

A "as small as can be" version of router implementation. It was created as a tool to help me answer my fellow learners question on the subject.

License

Notifications You must be signed in to change notification settings

cloutierMat/router_essential

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Router Essential

You will find here only the barebone needed code to replicate what Tony did in class today to route his endpoints to a seperate file

It is by no means a replacement to his course and slides, where you will find much more information. It should, however, make it easier to read that section of the code.

Installation

In your terminal

git clone https://github.com/cloutierMat/router_essential.git
cd router_essential
npm install
npm start

Try it out

In your browser try those 3 urls and see where they come from.

Hopefully it will bring some light in the darkness of everybody's life

http://localhost:3000/

http://localhost:3000/room

http://localhost:3000/room/InsertYourFavoriteWords

About

A "as small as can be" version of router implementation. It was created as a tool to help me answer my fellow learners question on the subject.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published