Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

AltStyle によって変換されたページ (->オリジナル) /