How to use HttpClient and HttpInterceptor to Cache Requests in Angular 5

Recently, I’ve delved back into Angular on a new project for the first time since the Angular 1.x days. The new Angular seems familiar yet much more robust and productive since embracing object-oriented programming principles. One requirement I had was to implement a simple request cache as data from the API I am consuming doesn’t change too frequently. I initially approached the problem with a simple solution but soon found some documentation related to the relatively new HttpClient API.

Continue reading »

How to Use Firebase CLI Tools to Deploy a Web Application

This is a quick guide on how to deploy a Firebase web application to the Firebase CDN using their CLI toolkit. I previously wrote a guide on how to use Firebase Cloud Firestore with React and Ant Design to quickly create web application prototypes; you can use this guide to bring that project online for free. Firebase provides a full suite of products – including a real-time database, authentication, file storage, and “cloud functions” – that can get help you launch in record time.

Continue reading »

Using React, Firebase, and Ant Design to Quickly Prototype Web Applications

In this guide I will show you how to use Firebase, React, and Ant Design as building blocks to build functional, high-fidelity web applications. To illustrate this, we’ll go through an example of building a todo list app. These days, there are so many tools available for web development that it can feel paralyzing. Which server should you use? What front-end framework are you going to choose? Usually, the recommended approach is to use the technologies that you know best.

Continue reading »

How to Create a Docker Development Environment

If you’ve ever worked on a large piece of software, I’m sure you’ve endured the pain of setting up a complex development environment. Installing and configuring a database, message broker, web server, worker processes, local smtp server, (and who knows what else!) is time consuming for every developer starting on a project. This guide will show you how to set up a docker development environment which will enable you and new developers to get up and running in minutes with even the most complex system.

Continue reading »