Build Your REST API with Spring

20 участников

О чём курс

Вам нужен инструмент для создания готового к эксплуатации REST API — от первой строки кода до развёртывания в production. Здесь вы разберете, как превратить базовый сервис в надежную систему с защитой через OAuth2 и JWT, контрактным тестированием и мониторингом производительности.

Курс сфокусирован на инструментах, необходимых в реальной работе: вы освоите настройку CI/CD пайплайнов в Jenkins, научитесь грамотно управлять версиями API без «поломки» клиентов и внедрите продвинутые техники вроде rate limiting и работы с бинарными данными. Материал охватывает всё: от обработки исключений и HATEOAS до автоматизации деплоя на EC2 и балансировки нагрузки.

В результате вы получите шаблоны для быстрой реализации API и понимание того, как обеспечивать отказоустойчивость и безопасность сервисов, написанных на Spring.

Программа обучения

    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
    1. 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
    1. 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
    1. 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
    1. 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
    1. 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
    1. 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
    1. 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
    1. 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
    1. Advanced API Tactics
    • ETags in REST
    • A Simple API Rate Limiting Implementation
    • Binary Data Formats in a Spring REST API
    • REST, Async and Long
Складчина создана 6 мая 2017 г. · описание обновлено 23 марта 2026 г.

Другие материалы школы 2

B Baeldung Все материалы
1 312 ₽ 11 612 ₽