- Регистрация
- 26.05.2022
- Сообщения
- 26 724
- Реакции
- 163
- Баллы
- 63
The Master Class
The canonical reference for building a production grade API with Spring. The 9 modules cover building and securing the API for production use, advanced evolution and discovery techniques, client code to consume it from the front end, comprehensive monitoring, continuous integration, continuous deployment, and more.
In addition to the detailed guides on implementation, you’ll also get the knowledge needed to run the API in production reliably and consistently. You’ll get templates of my time-tested Spring API implementations along with the understanding of how to use these to get your own APIs out and into the hands of clients quickly.
Everything I wish I had access to when I built my first API with Spring.
~10 Hours
1. The Basics of REST with Spring
The Anatomy of a REST API
Bootstrap a New Project
The User Management Project: A Full API
Application Startup: Executable Jar,
Tomcat Deployment and Cargo
Properties and Project Settings
The Web Configuration
2. REST and HTTP Semantics
Exception Handling Good Practices and Sane HTTP Status Codes
The Basics of Input Validation
Good URI Practices (Nouns vs Verbs, Plural vs Singular, Identifiers vs UUID)
Leverage HTTP Verbs and Semantics
Content Negotiation: Support both XML and JSON
The Lifecycle of a Request
3. Simple Security for REST
Simple Spring Security for the API
Global URL vs Method Level Authorization
Understanding Cookies and the Session
Certificates and HTTPS for Tomcat
The Topology of Roles and Privileges
4. Consuming the API from AngularJS
Basic Ways to Consume REST from AngularJS
Dealing with CORS and Advanced CORS Scenarios (2 parts)
Working with OAuth2 and Tokens (JWT) from the front-end
5. Testing the API
The First Live API Tests - Introducing rest-assured (2 parts)
How To Build a Client for the API (2 parts)
How to test HTTP semantics
A Good Base API Tests for Any Resource
Contract Testing - A Special Kind Of Test
6. Advanced API Security: OAuth2 & JWT
How OAuth2 Works for REST (2 parts)
Set Up OAuth2 with Spring Security (2 parts)
Tokens, OAuth2 and JWT
Refreshing a token
How To Do OAuth from the Front End
7. Document, Discover and Evolve the REST API
Document the API with Swagger
The Basics of HATEOAS
Advanced Scenarios with Spring HATEOAS
How To Evolve the API without Breaking Clients
Versioning — The Last Resort
8. Monitoring and API Metrics
Fundamentals of Monitoring with Boot
Custom Metrics with the Dropwizard Metrics library
Monitoring Data over JMX
Displaying Metrics over HTTP
Production Grade Tools for Monitoring
9. DevOps: CI and CD Pipelines, Deployment
Setting Up Jenkins and The First Job
A Simple Jenkins Pipeline From Scratch
Remote Deployment for the API
From Continuous Integration to Continuous Deployment
Load Balance the REST API on EC2
10. Advanced API Tactics
ETags in REST
A Simple API Rate Limiting Implementation
Binary Data Formats in a Spring REST API
REST, Async and Long Running Requsts
11. A Reactive REST API (New)
Moving Past the Servlet - going Reactive
How to Build a Reactive REST API
Understanding the new WebClient
12. New in Spring 5 (New)
Using the New Bean Validation 2.0
Using Kotlin to Build the API
New Indexing Alternative to Classpath Scanning
13. New in Spring MVC
Whats Possible with the ResponseStatusException
JSON Binding API, the Jackson alternative
The canonical reference for building a production grade API with Spring. The 9 modules cover building and securing the API for production use, advanced evolution and discovery techniques, client code to consume it from the front end, comprehensive monitoring, continuous integration, continuous deployment, and more.
In addition to the detailed guides on implementation, you’ll also get the knowledge needed to run the API in production reliably and consistently. You’ll get templates of my time-tested Spring API implementations along with the understanding of how to use these to get your own APIs out and into the hands of clients quickly.
Everything I wish I had access to when I built my first API with Spring.
~10 Hours
1. The Basics of REST with Spring
The Anatomy of a REST API
Bootstrap a New Project
The User Management Project: A Full API
Application Startup: Executable Jar,
Tomcat Deployment and Cargo
Properties and Project Settings
The Web Configuration
2. REST and HTTP Semantics
Exception Handling Good Practices and Sane HTTP Status Codes
The Basics of Input Validation
Good URI Practices (Nouns vs Verbs, Plural vs Singular, Identifiers vs UUID)
Leverage HTTP Verbs and Semantics
Content Negotiation: Support both XML and JSON
The Lifecycle of a Request
3. Simple Security for REST
Simple Spring Security for the API
Global URL vs Method Level Authorization
Understanding Cookies and the Session
Certificates and HTTPS for Tomcat
The Topology of Roles and Privileges
4. Consuming the API from AngularJS
Basic Ways to Consume REST from AngularJS
Dealing with CORS and Advanced CORS Scenarios (2 parts)
Working with OAuth2 and Tokens (JWT) from the front-end
5. Testing the API
The First Live API Tests - Introducing rest-assured (2 parts)
How To Build a Client for the API (2 parts)
How to test HTTP semantics
A Good Base API Tests for Any Resource
Contract Testing - A Special Kind Of Test
6. Advanced API Security: OAuth2 & JWT
How OAuth2 Works for REST (2 parts)
Set Up OAuth2 with Spring Security (2 parts)
Tokens, OAuth2 and JWT
Refreshing a token
How To Do OAuth from the Front End
7. Document, Discover and Evolve the REST API
Document the API with Swagger
The Basics of HATEOAS
Advanced Scenarios with Spring HATEOAS
How To Evolve the API without Breaking Clients
Versioning — The Last Resort
8. Monitoring and API Metrics
Fundamentals of Monitoring with Boot
Custom Metrics with the Dropwizard Metrics library
Monitoring Data over JMX
Displaying Metrics over HTTP
Production Grade Tools for Monitoring
9. DevOps: CI and CD Pipelines, Deployment
Setting Up Jenkins and The First Job
A Simple Jenkins Pipeline From Scratch
Remote Deployment for the API
From Continuous Integration to Continuous Deployment
Load Balance the REST API on EC2
10. Advanced API Tactics
ETags in REST
A Simple API Rate Limiting Implementation
Binary Data Formats in a Spring REST API
REST, Async and Long Running Requsts
11. A Reactive REST API (New)
Moving Past the Servlet - going Reactive
How to Build a Reactive REST API
Understanding the new WebClient
12. New in Spring 5 (New)
Using the New Bean Validation 2.0
Using Kotlin to Build the API
New Indexing Alternative to Classpath Scanning
13. New in Spring MVC
Whats Possible with the ResponseStatusException
JSON Binding API, the Jackson alternative