Decode JSON Web Tokens (JWT) in Angular
Decode JWT Tokens in Angular

Decode JSON Web Tokens (JWT) in Angular

JSON Web Tokens (JWT) are commonly used in single page application frameworks like Angular for authentication and authorisation. This is due to their small size and high security. JWT tokens can store a lot of information and we need a way to decode this token easily. Unfortunately, Angular does not…

2 Comments
Import Angular Material Components as a Feature Module
Import Angular Material

Import Angular Material Components as a Feature Module

Are you just getting started with Angular and interested in properly importing Angular Material components in your web app project? While getting started with Angular is very easy, it does not come with any UI controls. For this reason, many web developers prefer using Angular Material to add buttons, form…

0 Comments
Create a Scalable Angular Project Structure
Angular Project Structure

Create a Scalable Angular Project Structure

A scalable angular project structure is something I struggled to implement when I started working on my first real-world Angular project. I generated my fist app in the command-line and kept adding components, services and pipes on the app module. Although Angular CLI does a great job at generating a…

4 Comments
Angular Logging Made Simple with ngx-logger
Logging in Angular with ngx-logger

Angular Logging Made Simple with ngx-logger

In my previous post, we looked at how we can catch all errors in Angular with a global error handler. If you want to keep the errors you capture, you need to implement a reliable logging system. Today, I want to explain why logging is crucial and how you can…

6 Comments