J Cole Morrison

J Cole Morrison

Hi, I'm Cole. I'm an entrepreneur and engineer based out of Los Angeles, CA teaching what I know as I go! This is a log of my Tech Guides and Thoughts. Thanks for reading!


TagExpress
Featured

Express

Quick Tip: Organizing Routes in Large Express 4.x Apps

Posted on - Comments

Instead of bogging down your main app.js file with every single route, try and organize it with the Express Routing mindset as stated in their Docs. A router is an isolated instance of middleware and routes. Routers can be thought of as "mini" applications o…