Tag: sequelize

  • Database Indexes With Sequelize

    In this article we will look at how to create database indexes with Sequelize. In posts Sorting REST API Results and Advanced Filtering in REST API we used allowedSortBy and allowFilterBy fields to make sure users don’t tank the database. However, if you have a lot of rows in your table, and we are talking…

  • Sequelize Seeders: Generating Test Data

    In this article we will look at how to use Sequelize seeders to seed the database with test data and use Faker library to generate the test data. We will continue working in the project travel-api-db-migration-service we created in the video Sequelize Migrations. Please, watch that video if you would like to see how the…