routes Archives - wiki

Nodejs Express separate routes

Move the rout definition from the index.js or app.js

Folder structure

node structure

index.js file



you can add more routs like admin routs (*i am not added this in my project so it will not see int the above folder structure)




By bm on August 2, 2016 | Express, NodeJs | A comment?
Tags: , ,