Find out how you can send email easily from Node.js

Photo Courtesy of Xavi Cabrera from Unspash

Originally published at https://fek.io.

Like many other HBO Max subscribers, I received an email titled “Integration Test Email #1” to the email I use for my HBO Max account. I decided to write a post about how you can send your own ‘Integration Test Email’ from Node.js. There are a couple of different ways.


Find out how you can easily create Hypertables in TimescaleDB

Photo from Wolfgang Hasselmann on Unsplash, illustration by David Fekke
Photo from Wolfgang Hasselmann on Unsplash, illustration by David Fekke

Originally published at https://fek.io.

This is part three of a series of posts I am doing on using Postgres and TimescaleDB with Node.js.

In the previous posts I discussed how setup a dev instance of Postgres or TimescaleDB with Docker, and connect and query data from Node.js.

In this post we discuss TimescaleDB, and how to use it as an extension of Postgres.

TimescaleDB

TimescaleDB extends the functionality of Postgres by allowing a high volume of inserts and queries across a horizontally scalable version of Postgres. …


Gatsby makes it easy to serve static HTML files with your gatsby site

Photo Illustration by David Fekke

Originally published at https://fek.io.

I was getting ready to create a set of slides for my next presentation. I usually use slides.com to create and host my slides. If you have not looked at slide.com before, it is a great example of the power of web applications. Slides.com has a presentation editor that is based on Reveal.js, a JavaScript library for making animated slide shows. I am a firm believer that you do not need Powerpoint to make slide shows. This can be done as a web app.

Moving to Gatsby

As I was getting ready to start my next set of…


In this post we will look at creating tables and querying data from them in Node.js.

Photo from Wolfgang Hasselmann on Unsplash, illustration by David Fekke
Photo from Wolfgang Hasselmann on Unsplash, illustration by David Fekke
Photo courtesy of Wolfgang Hasselmann on Unsplash, illustration by David Fekke

Originally published at https://fek.io.

This is part two of a three part series on using Postgres DB with Node.js.

Read part one here.

In the first part of this series I wrote about how to get an instance of Postgres or TimescaleDB running and communicating with Node.js. In this post we will describe how tables and indexes are used to store and query data. We will also cover DDL, DML and DQL SQL statements.

Tables and Indexes

Relational database software is composed of specific database objects…


In this post we take a look at getting Postgres set up for developing with Node.js.

Photo courtesy of Wolfgang Hasselmann on Unsplash, illustration by David Fekke

This is part one of a three part series on using Postgres DB with Node.js.

Prerequisites

To use the examples in this post you will need to have the Docker client and Node.js installed on your computer.

Postgres

I am going to be giving a presentation next week and using Postgres SQL and TimescaleDB with Node.js for the JaxNode user group. If you are not familiar with Postgres, it is a relation database server that is very popular in the open source world, but also…


Apple did not show any new hardware this year, but they had a lot of software to show today

Photo Illustration by David Fekke

I live streamed the WWDC21 developer keynote tonight to go over new features Apple is adding for iOS and Swift developers.

I will be discussing some of the new APIs announced by Apple, the developer tools and new async language features added to Swift.

Updated 8:27 PM

So I was able to watch both the Keynote as well as the Platforms State of the Union. Apple announced MaxOS 12 Monterey, iOS/iPadOS 15, watchOS 8 and a new tvOS. There was a lot of…


Visual Studio Code makes it easy to add functionality through your own extensions!

Photo Illustration by David Fekke

Originally published at https://fek.io.

I recently wrote about creating your own tools using Node.js. There are a lot of applications now that are based on Node.js that you can extend using JavaScript. One of those applications is one that I am using right now as I write this post, Visual Studio Code.

VS Code

If you are not familiar with Visual Studio Code, or VSCode for short, it is Microsoft’s open-source code editor. It is used for many different types of application development, everything from C++ to Salesforce…


For objects that are based on Swift structs, I would recommend using 'codable' which will let you implement Encodable/Decodable. If you are creating objects from Obj-C classes or Swift classes I would use the method described in my post.


Gatsby makes it very easy to add data to your site through GraphQL and custom plugins!

Photo Illustration by David Fekke

One of the powerful things about Gatsby is the way you can pull multiple sources of content from completely different areas into your site. Gatsby does this through plugins.

There are two primary forms of plugins for Gatsby, ‘source’ and ‘transformer’. Source plugins allow you to bring data from out side of your Gatsby site into Gatsby, and Transformer plugins allow you to massage and transform the data from your sources into the specific content you need in your site.

Once data is configured to be brought into your site through a source plugin, you will be able to use…


NPM modules from the NPM repository offer a lot of functionality, but should be used sparingly.

Image courtesy of Marcus Kauffman on Unsplash

Originally published at https://fek.io.

It has been just over five years since the event known as ‘Left-Pad Apocalypse’. In March of 2016, an NPM user removed their module ‘Left-pad’ from the NPM repository, resulting in the breaking of any Node.js application which had that dependency.

It was a wake-up call for the Node.js community and some changes were implemented to NPM after this incident to prevent this from happening again.

What exactly happened

A company called Kik with a messenger app wanted to use the same…

David Fekke

I am a software engineer and commercial pilot in jacksonville, Fl. I also produce videos for the Polyglot Engineer Channel on YouTube.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store