DevMigration

Blog designed to help others.

Imports (part 3)

2020-08-23 Articles Renso Diaz
When it comes to developing a web application with Node.js Imports play a very important role in the creation of our application. They help us to structure and restructure the application any way that we want. But also gave us the ability to use modules written by other people and integrate them into our application. In Fact you already did create one and use it. In our Part 2 lesson when we created environment variables. Continue reading

Express file structure (part 2)

2020-08-09 Articles Renso Diaz
Welcome back to part two of our Express tutorial, in this part we are going to talk about express file structure and what exactly I mean by file structure. Also we will go over how to create a configuration file and use it to change to different environments of development. Express like many other NodeJS backend frameworks like restify, fastify, etc. Don’t really come with a file structure that we have to follow, you can structure your backend application any way you like but for the purpose of this journey we will use a MVC design pattern. Continue reading

Express for beginners (part 1)

2020-07-30 Articles Renso Diaz
Welcome to the first part of our journey, this is going to be a small series with multiple posts to help you dive right into Express framework and Node.js. Don’t worry if you don’t have any previous experience with Express or Node.js. This tutorial is designed with that in mind and will try to be as clear as possible. We will cover the backend logic only in this series and in the future we may also create another small tutorial on how to integrate a view engine like Pug, Ejs, etc. Continue reading