How to Handle Authentication in Angular SPAs?
Reading Time: 4 minutes Angular is a good framework for creating Single Page Applications (SPAs) using JavaScript/TypeScript. With Single Page Applications, routing is handled on the client side. This calls for protecting routes on the client side as well. Angular comes with the Angular Routing module which handles routing. Sometimes you will have protected resources that you will only […]
How to Write Unit Tests for Forms in an Angular 15 Application Using Jasmine?
Reading Time: 6 minutes In our previous blog, we demonstrated How to Write Unit Tests for Angular 15 Application Using Jasmine and Enforce Code Quality in a CI Workflow With Github Actions. We looked at general unit tests involving components that receive data from services. It is important to always ensure that Unit Tests are written in order to […]
How to Write Unit Tests for Angular 15 Application Using Jasmine and Enforce Code Quality in a CI Workflow With Github Actions?
Reading Time: 10 minutes Refer to Part 2 of this blog, to know How to Write Unit Tests for Forms in an Angular 15 Application Using Jasmine? In this blog, we will cover: What is Unit Testing? About Angular About Jasmine Hands-on Conclusion What Is Unit Testing? As you develop applications, you write code and as the application features […]
Create & Use Standalone Components in Angular 14
Reading Time: 8 minutes App development is now super-simple and quicker with the new features including standalone components in Angular 14. Because of the standalone components, the use of NgModules has now become optional. The Angular developer community strives to provide web developers with better versions of the TypeScript-based framework while also allowing them to stay on track with […]