Feb 2, 2021
Check all the routers in MERN stack console
How to get all registered routes in Express?
app._router.stack.forEach(function (r) {
if (r.route && r.route.path) {
console.log(r.route.path)
}
})
— Krishna Bagale
Check all the routers in MERN stack console
app._router.stack.forEach(function (r) {
if (r.route && r.route.path) {
console.log(r.route.path)
}
})
— Krishna Bagale
Distraction-free reading. No ads.
Organize your knowledge with lists and highlights.
Tell your story. Find your audience.
Read member-only stories
Support writers you read most
Earn money for your writing
Listen to audio narrations
Read offline with the Medium app
I am a software developer, living in Finland. I am open for new innovative ideas and willing to formulate into reality. Keep contact!