Brian Cline

Full Stack Developer & Technology Leader Living in Niagara Falls

  • About
  • Résumé
  • JavaScript
  • Salesforce
  • Contact
  • Articles
  • About
  • Résumé
  • JavaScript
  • Salesforce
  • Contact
  • Articles

Tag: NodeJS

nodeJS Logo

Connecting to MySQL from Node.js

June 2, 2020Brian ClineJavaScript, ProgrammingDatabase, NodeJS, ORM

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.

Writing Data to An Excel File in NodeJs

How to Write Data to An Excel file in NodeJS

May 12, 2020Brian Cline7 CommentsJavaScript, Programmingexcel, 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

January 8, 2019Brian ClineJavaScript, ProgrammingImages, javascript, 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

May 29, 2018Brian ClineJavaScript, ProgrammingDatabase, DevOps, javascript, Knex, MySQL, NodeJS

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.

Git Logo

Simple Git Ignore File For NodeJS

May 15, 2018Brian ClineJavaScriptgit, gitignore, 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

March 4, 2018Brian ClineJavaScript, Programmingnode.js, NodeJS, use node.js

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.…

Read More

Node.js & Environment Variables

February 9, 2016Brian ClineJavaScript, Programmingenvironment variables, NodeJS

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.