Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Introduction to Sequelize ORM (w/ Express.js + Postgres)
Rating: 4.0 out of 5(113 ratings)
698 students
Last updated 8/2021
English

What you'll learn

  • Learn how to build a production-level application with Express
  • How to set up a development environment that is easily reproducible and painless
  • Learn how to write migrations for our Postgres database using Sequelize ORM
  • Expect to write tests for every line of code we write in our application

Course content

7 sections60 lectures5h 20m total length
  • Introduction1:40
  • Necessary tools - Advise for Windows users5:20
  • Necessary tools - Node Version Manager (NVM)4:14
  • Join the Discord community0:05
  • About reviews0:11
  • Necessary tools - Docker and Docker Compose4:22
  • Necessary tools - Postman and DBeaver2:18
  • Installing VSCode2:39

Requirements

  • No

Description

Hi and welcome to this course! Here, you will learn A LOT about how to build a simple backend with production-level code. We are going to learn how to set up a local database with Docker, how to use Express.js with Sequelize as the ORM and manipulate the database, how to test our code with Jest and more importantly, how to structure our code to test it easily. We will also learn:

  • Sequelize best practices (how to register models, how to register associations between models, how to add scopes, how to make simple queries, how to write migrations, etc.)

  • JWT and Bcrypt to handle authentication and

  • Testing with Jest (remember that untested code is broken code)

  • Express middlewares and how to test them

  • Docker and Docker Compose to set up a local database and avoid installing databases locally

  • Best practices in general (separating the Express app from the server for easier testing, separating model logic from the controller, hiding passwords from the response, etc.)

This course is different as I am looking for you to learn how production-level code looks like and build the habit to test every line of code you write! Most courses skip testing, but the reality is that testing is so important on software development that it is unbelievable that most courses out there just skip them.

Who this course is for:

  • Beginner NodeJS developers
  • Developers interested in backend development
  • Developers interested in the Express framework