Tag: NodeJS

Generating A PDF in Nodejs

The PDF format is one of the most common file formats for transmitting static information. It’s a really common request for businesses to be able to export a document or data into a really well-formatted PDF file whether it be an invoice or a report.

Continue reading

Connecting to MySQL from Node.js

nodeJS Logo

For the most part, it seems to be that NodeSQL databases are the defacto standard with Node and JavaScript developers. Using MySQL is still an option and can make a lot of sense if the project already has an existing database.

Continue reading

Automatically Compressing Images With NodeJs

Over the years, I’ve worked on a number of projects where we deal with user or company provided images which are often very large resolutions which take a long time to download on mobile phones or or poor internet connections.

This is a simple script that can be used to compress images and avoid potential costs of a service like Kraken.io

Continue reading

5 Reasons to Use Node.js on Your Next Project

5 Reasons to Use Node.js on Your Next Project

JavaScript has forever changed the way that websites are built. Even in it’s early days, it was being used to validate forms before data was submitted to servers. In the last 5 to 10 years, we no longer needed to do full page refreshes because of JavaScript which made the web feel faster and more responsive. Continue reading

Node.js & Environment Variables

Environment variables, also known as env, allow us to have applications we build behave differently based on the environment that they are running in. Well designed applications use environment variables and allow us to rapidly deploy to new environments.

Continue reading