Working With Sequelize

About Sequelize It is a promise-based NodeJS ORM for connecting with various databases like SQLite, MySQL, Postgre, etc. In this blog post we will focus on models and seeders only. npm i sequelize About Sequelize CLI It is a command line tool for generating files, seeding records in database, etc. npm...Read more

Form Field Validation in NodeJS using Middleware

In this blog we are going to discuss about the form field validation in NodeJS using express middleware. Why to use middleware ? There are several ways to validate the form fields in NodeJS but middleware is also on the best, simple and effective way to validate the form fields....Read more

Integration Testing with NodeJS

We are going to Test the Route life cycle in NodeJS using mocha. If you want to know how to test NodeJS application when a particular route is requested using the browser / API calls then you can continue with this post. This post will give you a basic idea...Read more

Environment Variables Do’s and Don’t

What are Environment Variables ? These are the variables that play an important role in the configuration of any application/program. They are just like normal variables, a key-value pair. Also, they contain critical pieces of information. So Why to use Environment Variables ? As said earlier, they help in configuration,...Read more