Skip to content
keep_growing
  • Java
    • Spring Boot
  • Tools
  • Taking care
  • Angular
  • About
  • Sun Conure Software

Angular

How to add Bootstrap to your Angular project with ng-bootstrap

22nd July 202111th September 2021 little_pineconeAngular, Tools
featured image

We can significantly speed up progress on our Angular application when we enhance it with Bootstrap styles and ng-bootstrap widgets. Bootstrap classes will immediately transform the look and feel of our project and thanks to Angular-native components from ng-bootstrap we won’t be needing Bootstrap javascript.

Read more

How to add an Angular module built with Maven to a SonarQube analysis

4th July 20219th July 2021 little_pineconeAngular, Tools
featured image

We can use SonarQube to analyse all or only selected modules from our multi-module application built with Maven. Let’s configure an existing Angular module so that we can see a full SonarQube analysis for an example SpringBoot-Angular project.

Read more

Angular logs the “not a known element” error as a warning

20th October 202020th October 2020 little_pineconeAngular

In Angular 9 and 10 we can notice that the “my-element is not a known element” error is missing when our tests don’t have all required stubs. Make sure to check debug messages when running tests and add all absent stubs. Otherwise, you will have to update your test suite when the Angular team fixes this bug.

Read more

Fix “Invalid CSRF token” error – add the XSRF-TOKEN header in Angular

3rd August 20203rd August 2020 little_pineconeAngular
feature image

Angular provides a built-in support for sending requests secured with the XSRF-TOKEN header. However, it won’t add the token to absolute URLs for security reasons. One way to solve the “Invalid CSRF token found” issue is to use relative links in all mutable requests and apply a custom proxy.

Read more

Handle server-side sorting in an Angular application

6th April 20196th March 2020 little_pineconeAngular
featured_image

When our frontend gets a paginated result from an API, we have to handle not only paging, but also sorting of the outcome. In this post, I show how to create a custom sorting component that works well with a standard Page object returned by a Spring Boot API.

Read more

Handle server-side pagination in an Angular application

17th March 20196th March 2020 little_pineconeAngular
featured_image

When pagination is performed on the backend side of a web application, we need to support this feature on the frontend. Read this post to see how you can easily handle Spring Boot Page object in an Angular app.

Read more

How to test Angular AuthGuard – examples for the CanActivate interface

29th January 20196th March 2020 little_pineconeAngular
featured_image

After adding the routing guards to your project, you need to unit test their methods to make sure that an unauthenticated user is correctly redirected to a “/login” path. Check out a sample test configuration and test cases that verify if the router always redirects users unmistakably.

Read more

Securing your Spring Boot and Angular app with JWT #3 – Frontend

15th January 20196th March 2020 little_pineconeAngular
featured_image

There are several issues that need to be covered when you want to secure a frontend module of a Spring Boot and Angular app. Learn how to handle security based on JWT and enhance user experience with the AuthGuard functionality.

Read more

Securing your Spring Boot and Angular app with JWT #1 – Introduction

15th January 20196th March 2020 little_pineconeAngular, Spring Boot
featured_image

You can use the JSON Web Token standard as a part of your authentication and authorisation solution in a project built with Spring Boot and Angular. Check out this post to learn how to apply Spring Security, AuthGuard and JWT to your apps.

Read more

How to build a custom collapsible sidebar navigation with Angular 6

12th October 20186th March 2020 little_pineconeAngular
featured_image

Check out how to build a side navigation that fits perfectly into an admin layout or any dashboard page. We are going to create a simple collapsible sidenav that can be easily integrated into any Angular project that uses Bootstrap.

Read more

Posts navigation

Older posts
Created by Marta Szymek
  • Privacy Policy
Powered by WordPress | Theme: Astrid by aThemes.