How to set a GoDaddy Domain to Use Github Pages

We will walkthrough setting up your domain that is managed by GoDaddy to point to Github Pages. This involves signing into your GoDaddy account, updating the DNS, updating Github Pages settings, and letting the apply.

#lessons#engineering

Read More

Running Unity WebGL Inside a React App

In this tutorial, I walk you through running a Unity game (built with WebGL) inside a React app. This will allow you run a browser game and surround it with React.

#lessons#engineering

Read More

Building your Unity game using Bash

In this quick tutorial, I will give you the steps for building your Unity game via the command line (OSx). I will build my demo game to compile to be a WebGL game.

#lessons#engineering

Read More

Trigger Another Repository's Github Action Workflow and Wait for Result

In this lesson, I will walk you through triggering a workflow in a second Github repository. The most common use case is probably for triggering a single batch of tests while your code base is divided among multiple repositories. Another great use is triggering deployments of your API (in its own repo) before deploying your frontend (web app). This can be done fairly simply with a Github Action called Trigger Workflow and Wait.

#lessons#engineering

Read More

How to run Github Actions on a Schedule

It is very simple! Github Actions can use CRON schedule to trigger a workflow.

#lessons#engineering

Read More

How to Query Data using Regex from Mongo with Go

In this tutorial, I will show you how to query using regex in a Mongo database instance with Go code.

#lessons#engineering

Read More

How to Query for Random Document from Mongo with Go

In this tutorial, I will show you how to query for a random document in a Mongo database instance with Go code.

#lessons#engineering

Read More

How to Delete Data from Mongo with Go

In this tutorial, I will show you the basics of doing a delete from a Mongo database instance with Go code.

#lessons#engineering

Read More

How to Update Data in Mongo with Go

In this tutorial, I will show you the basics of doing a update request to a Mongo database instance with Go code.

#lessons#engineering

Read More

How to Query (Multiple Docs) Data from Mongo with Go

In this tutorial, I will show you the basics of doing a query for multiple documents in a Mongo database instance with Go code.

#lessons#engineering

Read More

How to Query (Single Doc) Data from Mongo with Go

In this tutorial, I will show you the basics of doing a query for a single document in a Mongo database instance with Go code.

#lessons#engineering

Read More

How to Insert Data into Mongo with Go

In this tutorial, I will show you the basics of doing an insert into a Mongo database instance with Go code.

#lessons#engineering

Read More

Capture Frontend Logs & User Insights with Log Rocket

If you are running a web application, you will want to know if users are experiencing errors. You will want to gather logs and gather insights. There are many tools out that can help with this and today I’m going to show you LogRocket. I like LogRocket because it only takes a few lines to setup and you can have complete customizability.

#lessons#engineering

Read More

Auto Tweeting with OpenAPI GPT 3 & Python

A few weeks ago there was a lot of the internet attention around the recently opened for beta project called GPT-3. Generative Pre-trained Transformer 3 (GPT-3) is an autoregressive language model that uses deep learning to produce human-like text. It is the third-generation language prediction model in the GPT-n series created by OpenAI, a for-profit San Francisco-based artificial intelligence research laboratory.

#lessons#engineering

Read More

Accept Bitcoin using Coinbase & Go (Short)

In this tutorial, I will step through the steps for accepting payments. We will use Coinbase and therefore will require a Coinbase account. I will publish lessons on using other services but because of the popularity (in my world) of Coinbase, it’s the first service I will demonstrate how to integrate with.

#lessons#engineering

Read More

Accept Bitcoin using Coinbase & Go

In this tutorial, I will step through the steps for accepting payments. We will use Coinbase and therefore will require a Coinbase account. I will publish lessons on using other services but because of the popularity (in my world) of Coinbase, it’s the first service I will demonstrate how to integrate with.

#lessons#engineering

Read More

Scanning for Maven Security Vulnerabilities using Github Actions

In this lesson, I’m going to setup how to scan for security vulnerabilities in Maven packages. They will happen on every push to all branches using Github Actions.

#lessons#engineering

Read More

Getting Started with Go Boilerplate

In this post, I’m not going to explain the in and outs of Go API development. I will provide you with a starting point and a basic walkthrough.

#lessons#engineering

Read More

Uploading Files to AWS S3 with Github Actions

In this tutorials, I show you how to automatically upload files from your Github Actions workflow to your AWS S3 bucket. A common use case for this may be deploying code to a releases folder for public consumption.

#lessons#engineering

Read More

Scan for NPM Vulnerabilities using Github Actions

NPM helps notify you have vulnerable dependencies by printing out a message during installation. At times, this isn’t enough. It is very easy to ignore these messages and commonly security becomes a low priority. In this tutorial, I will show you how to setup a script for checking if there are vulnerabilities and a automatic way of running it using Github Actions.

#lessons#engineering

Read More

Capture an IP using React - Perfect for Sign In, Stripe Terms of Service, etc.

Capturing an IP is fairly simple, and can be done with React. In this tutorial, I’ll show you the little bit of code needed.

#lessons#engineering

Read More

Zip Code Base with Github Actions for Releases

In this tutorial, we will use Github Actions to zip the code base and create a new release with it.

#lessons#engineering

Read More

Setting up Github Actions for a React App on Github Pages

In this tutorial, we deploy our changes on master to production (your domain) on each push. The idea: if you are hosting a React GH-Pages app on Github, then you no longer need to manually deploy.

#lessons#engineering

Read More

Hosting a React App for Free using Github Pages

In this tutorial, I walk you through setting up a simple React.js application that can be hosted on Github Pages. I really like hosting here because it’s free for me personally, and Github handles “server management”. Once I deploy my React app and verify it’s up, Github handles the traffic surges, updates, etc.

#lessons#engineering

Read More

Sign in with Google using simple Node.js, HTML, & Javascript

In this lesson, we will setup the ability to sign in with Google. You need to have a basic understanding of Node.js, HTML, and Javascript.

#lessons#engineering

Read More

Only Run Github Actions on Specific Branches

In this tutorial, we focus on running Github Actions on the push event for specific branches. This may be useful if you only want to test on feature branches and do a deployment if master. This was the use case for me. After the tests have passed, the the code review has been approved. It’s time to deploy to production. This is merging to master and running a series of steps. Github Actions makes it very simple to run specific actions/workflows on specific branches.

#lessons#engineering

Read More

Setting up a Jenkins server on a Digital Ocean Droplet

In this lesson, we setup a Jenkins CI/CD pipeline on a Digital Ocean droplet. It will trigger on push events to the master branch of a Git repository and build the project. These pipelines are excellent for validating your code changes are properly tested, and changes are instantly deployed after they’re verified. When you are trying to build a resilient system you have to ask yourself, how long is recovery if your servers go down? What’s the playbook for recovery? Using a tool like Jenkins allows this to potentially be a single click.

#lessons#engineering

Read More

Deploying a Docker Container on a Digital Ocean Droplet

In this tutorial, I will walk you through deploying your Docker container to a Digital Ocean droplet. All commands will be manually run. You can automate this process if you would like but the purpose is for getting you up and running. My Docker container will be running a Springboot app on port 8080. I expect you to have some sort of Docker container with a basic web page (API, hello world, full web app, anything at the root).

#lessons#engineering

Read More