JSON Web Tokens(JWT) are used to secure communication between client and servers. JWT is an encrypted string which is generated by the server after verification of user credentials when they log in. After that this JWT is used to verify the authenticity of the user asking for server responses.
So at the server end the user always need to pass JWT in HTTP call’s header, which is verified/ matched to generated one on the login process.
In our previous tutorial, we implemented JWT and in our Angular application using
angular2-jwt package, which makes it easy to add JWT in every HTTP call and also provide other options to manage JWT at the client end. Continue reading firebase/php-jwt + Angular | REST API Authentication Using JSON Web Token with Guards Example Tutorial Part 2
In this article, we will discuss the implementation of JSON Web Token Authentication in Angular 8 application by using
This post is compatible with Angular v6+ and RxJS v6+
What is JWT?
JWT or JSON Web Token is an encrypted string which contains information related to the logged in user and secret key, this token is generated at server end after a user is an authentication. This JWT is used for further communication between clients and servers.
After getting JWT from the server, every HTTP call to RESTful APIs must have Authorization header set with JWT, which is encoded at server end for authenticating the source. After successful validation data is transferred. Continue reading Angular 8 | JSON Web Token Authentication Tutorial with Login/ Dashboard and Guards using angular2-jwt
Yes! you read it right… with this simple tool, you can create a documentation of your Angular project automatically by simply running an NPM command in your CLI. This package creates complete project documentation in HTML format with an overview and detailed view of each component in the project.
As our application grows, it becomes difficult to keep track of each module and its components. The situation becomes worse when there is a need for giving project structure to co-team members or deliver code source and explain everything to other teams. During maintenance by other team members also slows down the debug or change processes.
So its always a better idea to keep a well maintained, simple and self-explanatory documentation at hand so that others and can understand and go through the structure with their own pace and conveniences. Continue reading Angular | Create Documentation of Angular Project in 20 Secs!
Angular’s HttpClient service enables communication between application and server by making an HTTP call to RESTfull API endpoints. In response, we get JSON data which is consumed to show meaningful content to users in client-side applications.
In this tutorial we are going to learn, how to use HttpClient service in Ionic 4 Application to make server HTTP calls with custom headers and propper Error Handling using RxJS operators. In our student application, we will implement CRUD (Create, Read, Update and Delete) operations to communicate with a Mock Server which we will build using JSON-Server NPM package. Continue reading Ionic 4 HttpClient CRUD Service Tutorial to Consume RESTful Server API
Angular Material is an awesome UI framework which is fully compatible to work with Angular applications. It is fully loaded with We Components which are supported for responsive and multi-device platforms. There is a number of easy to use components like Autocomplete, Datepicker, Stepper, Tree structures, Data tables, etc which can empower Ionic applications to the next level.
In this tutorial, we will get to know how to install Angular Material UI Components in an Ionic application.
We will first install Material packages in Ionic 4 application then try some of its components. For this, we will create a new Ionic 4 application with a blank template. Continue reading Ionic 4 + Angular Material 8 | How to Install Material and Use its Components in Ionic App
In many applications which includes large forms to take data submission, it is very important to keep the user interface simple and clean for visitors to understand. The best way is to take data from users in steps.
We can divide data into multiple groups and take these input from the user in a step by step formats. This type of data submission is done with the help of Stepper.
Continue reading Angular Material 8 | Stepper Tutorial with Examples
Tabs component organizes different content views at one area where only one is visible time and the user can switch them by clicking on each tab’s header name.
Angular Material Tabs create a beautiful layout filled with animation. Each tab section is provided with a header label name which can be clicked to show its content on the same place.
In this tutorial, we will add Angular Material Tab’s component and also discuss available options and features in Tab’s component.
Continue reading Angular 8 + Material | Adding Tabs Component in Angular using Material v8.x.x
In this tutorial, we will Implement resizable feature on elements and layout. By adding resizable feature a user can resize a container or element by dragging from corners.
The resizable feature can be added in many areas in an application to resize the editable container, Images, Dashboard sections, etc.
Continue reading Angular 8 | Re-sizable Elements and Layouts in Angular 8 Application
In a real-world application, we may receive data in multiple forms, but some of these could in complex formats which are not easy for normal users to understand. For example Date object shows to date in a format like this
Sat Aug 03 2019 19:48:11 GMT+0530 (India Standard Time)
But it’s better to have something like this:
Saturday, 03 Aug 2019 07:50 PM
Continue reading Angular 8 Pipes | All Type of Pipes with Examples
In Angular DOM if we want to Iterate over each item in a collection (Which can be an Array or Object), then we use NgForOf Directive.
In this tutorial, we will discuss *ngFor structure directive with a quick example and get to know how we can use NgFor in different real-world application scenarios.
Structural directives are used to make changes in HTML layout by adding, removing, repeating or manipulating elements in DOM structure. Continue reading Angular 7/8 | NgFor and TrackBy quick tutorial by example