Angular: API Communication and Authentication
Offered By: LinkedIn Learning
Course Description
Overview
Discover how to use HTTP in Angular 2 applications to communicate with APIs and use JSON web tokens to authenticate users and requests.
Syllabus
Introduction
- Welcome
- What you should know
- Using exercise files
- Overview of the Angular CLI
- Architecture of an Angular + Node application
- Database setup using mLab
- Seeding a database
- GET route for the API
- POST route for the API
- Using @angular/http to retrieve contacts, part 1
- Using @angular/http to retrieve contacts, part 2
- Creating a new route for adding a new contact
- Using ngForm for form submission
- Writing the onSubmit() function
- API service with a central request function
- Wrapper functions for GET, POST, PUT, and DELETE
- Refactoring HTTP calls to use the API service
- Central error catching
- JWT (JSON Web Token) overview
- Using Express Router
- User login and generating JWTs
- Authenticating requests and validating JWTs
- Auth service for local JWT management
- Implementing a user login
- Sending JWTs to API requests
- Logging out of the application
- Preventing route access without authentication
- Next steps
Taught by
Victor Mejia
Related Courses
Advanced Monitoring and Optimizing with DynamoDB (Spanish)Amazon Web Services via AWS Skill Builder Advanced Monitoring and Optimizing with DynamoDB (Simplified Chinese)
Amazon Web Services via AWS Skill Builder Amazon Connect Developer Assessment
Amazon Web Services via AWS Skill Builder Amazon DynamoDB for Serverless Architectures (Japanese)
Amazon Web Services via AWS Skill Builder Amazon DynamoDB for Serverless Architectures (Simplified Chinese)(中文配音版)
Amazon Web Services via AWS Skill Builder