Tag: NodeJS

  • Generating A PDF in 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.

  • Connecting to MySQL from Node.js

    Connecting to MySQL from Node.js

    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.

  • How to Write Data to An Excel file in NodeJS

    How to Write Data to An Excel file in NodeJS

    Excel is a really commonly used spreadsheet program that lots of companies use to transmit data. Finding a really good library that doesn’t require Excel to exist on the server can be really hard.

  • Automatically Compressing Images With NodeJs

    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

  • Introduction to the Knex.js Database Module

    Introduction to the Knex.js Database Module

    Knex is a JavaScript / Node.js library that is designed to make working with relational databases easier. Knex.js is a SQL query builder. It has the potential to make tdd and database versioning much easier.

  • Simple Git Ignore File For NodeJS

    Simple Git Ignore File For NodeJS

    Here’s a simple gitignore file that I start with most NodeJS projects.

  • 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 […]

  • Node.js & Environment Variables

    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.