Beards, Bytes and Brews

bytes of thought by Daniel Tucker

NestJS: VSCode debugger setup

March 24, 2020 Code
Debugging is inevitable for all developers and when you get the point that your code is not doing what you would expect VSCode is definitely built for TypeScript and thus perfect for NestJS. Get started by ensuring you have VSCode installed and open your project in VSCode. For the purpose of this article install the Nest TypeScript starter scaffolding. $ npm i -g @nestjs/cli $ nest new my-app Create a launch. Continue reading

NestJS: Getting started

March 19, 2020 Code
What is Nest? This is the next post in a series of articles as I explore NodeJS. If you need to go back one and get Node setup and running check this one out: NodeJS: Getting started. First, what is Nest? It is essentially a Node.js framework for building efficient server side applications. The really cool part about it is it uses TypeScript. Nest also incorporates elements of Object Oriented Programming, Functional Programming, and Functional Reactive Programming. Continue reading

NodeJS: Getting started

March 17, 2020 Code
Installing NodeJS First things first; download Node. You have a few options to install and all options are outlined on Node’s download page. I would recommend the LTS version unless you feel that you need close to latest as possible. Installation is generally really easy and in most case a point and click away. You do have options for installation through package managers but keep in mind those don’t always deliver the latest and greatest. Continue reading

Functional Programming with JavaScript

March 10, 2020 Code
Hello! This is the first post in a series focused on NodeJS. Node is a asynchronous event-driven JavaScript runtime for building scalable network applications. Just like JavaScript, NodeJS is not actually a functional programming language but is a good place to use functional programming if you so please. So what is functional programming? Functional programming is a programming pattern. Generally it can be used in many different language but some are specifically geared toward it such as Haskell and Lisp. Continue reading