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:
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:
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…
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:
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…
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.
As the title suggests, this project has been built with an Angular…