Simple Express 4 Routing

Introduction Express v4 improved the Router to be much simpler to register middleware. It allows us to separate routes into files & modules. This tutorial covers how we can accomplish this using a single point of entry. Let's take a look! Stack: NodeJS v9.11, Express v4.16 Directory Structure The directory structure is as follows for…

Node Express + Sequelize

Introduction Sequelize has been one of the leading ORMs for Node.js. Having objects to match your database schema with a variety of utilities out of the box, means you're sprinting in development. There is also a Sequelize CLI tool to help with creating migrations, seeds, & more. ORMs work great for scalability & organization. We…

Top