APIs are at the heart of enterprise development, and Angular ships with robust services to communicate with them via HTTP. But one of the best ways to implement authentication of API services is using JWTs (JSON web tokens). In this course, we take a deep dive into using the provided $http service in Angular to create a robust and reusable API service implementing JWT authentication. Instructor Victor Mejia also covers how to use an Angular router to protect client-side routes and unit test services, HTTP requests, and async actions. All these concepts are demonstrated using a realistic contact management application, so you can see how API calls and user authentication are implemented in a real-world Angular app.
- Setting up and seeding your database
- Using HTTP requests and routing in Angular
- Creating an Angular service
- Adding JWT authentication
- Implementing a user login
- Sending JWTs to API requests
Skill Level Intermediate
Content retrieved from: https://www.lynda.com/Angular-tutorials/Angular-API-Communication-Authentication/594458-2.html.