Skip to content

a-vi-nash/expressjs-load-routes-dynamically

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

expressjs-load-routes-dynamically

Available routes

/ (GET)

/home (GET)

/login (GET)

/contacts (GET)

/clients (GET)

/app/user (GET | POST)

/app/user/:id (GET | PUT | DELETE)

/app/invoice (GET | POST)

/app/invoice/:id (GET | PUT | DELETE)

How to install

Assuming you have npm and Node.js installed on your machine

Run

$> npm install
$> node app

Link

http://localhost:85

About

This simple project was create to support extra information to the article presents on http://www.mquintal.com/blog/how-to-structure-expressjs-routes/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published