DevMigration

Blog designed to help others.

Forms made easy with formspree

2020-09-27 Articles Renso Diaz
Making forms is a very straightforward process, small changes here and there, style, fields validations, backend services and so on but in our case we would talk about the extra step of processing the forms and the delivery of the messages. When we are trying to create a form for our website we have to also develop a backend service to help us send those messages to a specific email address, it’s not difficult to achieve but there are a couple of things to do that kind of take a lot of time, for example: Selecting a backend framework like ExpressJS, Spring boot, Restify, etc. Continue reading

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