Sign in

Self-taught web-developer with a background in snowsports coaching and operations management. I’m either learning, or I’m teaching.

CODEX

Creating a reusable and effective service to manage visual responses to user interaction

If you’ve built an angular app or two, you’ve likely implemented async services such as a REST API. When your user interacts with your app and triggers an async event, they need to know what's happening. So you create loading spinners, status messages and conditional logic to go with it. This can get repetitive, frustrating, and isn’t maintainable.

Using a service to handle the logic that responds to events triggered by UI, or any other emitter, can save you a lot of repetition and provide consistency through your application.

The purpose of this service is:


Some tips and tricks for beginners

If you are new to Linux this series of articles can give you some quick tips to get up and running in no time. Ranging from navigating directories, editing files and some other useful system management skills.

Everything introduced will be command-line based. If you don’t have a Linux machine, the best thing to do would be to run one on a cloud provider like AWS or Azure. AWS will give you a virtual machine as part of their free-tier. Check out this article to learn how to deploy a Linux instance on AWS.

Concepts addressed here will be:


CODEX

Start to leverage the power of cloud computing in minutes for free with AWS

If you’re involved in the tech industry, you're likely to come across Linux, and will probably need to use it at some point. Get started now by following this simple guide to launching a Linux instance in the cloud.

From hosting web apps, databases, application testing or integration builds, cloud computing can provide an incredibly cost-effective way to achieve your goals.

Linux has a wild amount of variations known as “distros”. Red Hat (RHEL) SUSE and CentOS are common RPM-based distros and Ubuntu is probably one of the most common Debian based distros. There are a lot of core similarities…


CODEX

Bit is an immensely productive tool to have in your development process and works well with Angular to create reusable code. It is also simple to set up and supports a variety of javascript frameworks.

The following is a quick walkthrough to set up an Angular library to develop components locally, and how to upload them to Bit for reuse in your, or anyone else's application. I strongly recommend reviewing the Bit docs for a sound understanding of what is happening and best practices.

The steps are:


Being able to harness the power of a tool like CloudFormation can save you time, reduce errors and make managing your resources incredibly easy.

Infrastructure as code allows you to handle the set up of your infrastructure in the same way you would handle the development of your code: pick the right language or tool to do the job and start developing a solution that suits your needs, making it an executable specification that can be applied to target systems efficiently and repeatedly.

(DevOps for Developers, Michael Hüttermann)

When working with AWS, CloudFormation is potentially the language of choice for coding the infrastructure required for your platform or software.

The following example will create a VPC containing a public subnet and EC2 instance, a…


Combining AWS CLI and AWS CodeDeploy for a free, simple, quick CI/CD.

This article is intended for use as an introduction to deployment using AWS infrastructure. The focus will be on getting a working app deployed to a server, so you should have something ready to go. The example used is an Express app written in Typescript, so there will be a compile phase, run locally. I'm running on macOS so any local commands are run through the terminal.

You should already be familiar with launching and connecting to EC2s, have an Express app ready to go, AWS CLI installed and configured on your development machine, and understand how to use IAM…


The following is a walkthrough of the steps taken to release a MEAN app through AWS CodePipeline. The objective is to create a simple pipeline on AWS infrastructure that compiles, installs and runs the source code. As this is the first time I’ve done a deployment in this way I’d welcome any feedback to improve. I much preferred using this compared to AWS OpsWorks. It has a relatively shallow learning curve, and you only need to understand a few Linux commands to be able to make it work.

A CI/CD pipeline integrates building and testing from commits, and automates deployment
A CI/CD pipeline integrates building and testing from commits, and automates deployment

The project

As the title suggests, this project has been built with an Angular…

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