Article Summary: Assuming that you have an already-existing Node/Express web application structure, learn how to easily add the Sequelize ORM to your project.

Before we start…

What is Sequelize and what is an ORM?

This is straight from the Sequelize docs: “Sequelize is a promise-based ORM for Node.js v4 and up. It supports the dialects PostgreSQL, MySQL, SQLite and MSSQL…”.


Summary: Import project modules directly without worrying about their relative root directory locations

The problem

If you have ever had to deal with this module path headache:

import HomeScreen from '../../../../screens/HomeScreen;
import Header from '../../../../components/Header';
import { container } from '../../styles';
import { getString } from '../../../utils';

And would rather your imports…

Summary: To minimize unnecessary errors and maximize productive code creation and reviews, every front end stack should be using a common suite of static testing tools shown below.

The Why (a few real world examples)

Jennifer is in a hurry. She ships out some quick code to meet a deadline. She changed the purchase event object from…

Matt Holland

Software engineer based in Austin, TX, fueled by an endless stream of digital curiosity.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store