Automating request validation with OpenAPI & Express GatewayRecipe

Automating request validation with OpenAPI & Express Gateway

by Younes Jaaidi - 11 minutes

API Gateways are a nice place, if not THE right place for handling request validation and responding with human readable and uniform error responses. Implementing the validation manually for every API would be a mess... but wait, what if this could be done automatically by simply feeding our OpenAPI Specification to a gateway like Express Gateway.

You Will Learn

Required Skills

Setup Express GatewayRecipe

Setup Express Gateway

by Younes Jaaidi - 11 minutes

Express Gateway is an API Gateway built on Express.js. It has the advantage of being simple and minimalist but also flexible and highly extensible thanks to JavaScript plugins. This recipe will show you how to quickly setup Express Gateway as an API Gateway.

You Will Learn

OpenAPI Specification Basic StructureDocumentation

OpenAPI Specification Basic Structure

3 minutes

OpenAPI Specification (formerly known as Swagger) is a format that allows you to describe and document your HTTP API or ReSTful API from the interface to the authentication schemes and the permissions required for each route. A wide range of tools can use the OpenAPI Specification format to help you manage the lifecyle of your APIs from designing them to securing them while improving API consumers Developer eXperience.

You Will Learn

Boost Your Time to Market by Dancing the LimboVideo

Boost Your Time to Market by Dancing the Limbo

by Younes Jaaidi - 33 minutes

Stale or long-lived branches, conflicts & huge code reviews can cause technical and human issues in your team. In this talk, Younes demonstrates some alternative and sometimes extreme approaches promoting single-branch development with techniques like Limbo, Timeboxed TDD and Test && Commit || Revert.

You Will Learn

Required Skills

Angular CLI Overview and Command ReferenceDocumentation

Angular CLI Overview and Command Reference

5 minutes

An introduction to the Angular CLI by the Angular team.

You Will Learn

Angular ComponentsDocumentation

Angular Components

8 minutes

Controlling the behavior of a whole application or page can quickly get tricky if we don't split it into smaller chunks. In Angular, these chunks are called components. Every component is reusable and allows us to control the display and behavior of some part of the application or page. This official documentation gives a nice introduction on how components work.

You Will Learn

Introduction to Angular ModulesDocumentation

Introduction to Angular Modules

5 minutes

Angular Modules, or NgModules are the main modularity system in Angular. They are fundamental for architecturing & structuring our apps and libraries in a performant, readable and scalable way.

You Will Learn

TypeScript in 5 minutesDocumentation

TypeScript in 5 minutes

5 minutes

Unsurprisingly, the official TypeScript documentation contains one of the best introductions to TypeScript.

You Will Learn

Lazy-loading Angular ModulesDocumentation

Lazy-loading Angular Modules

9 minutes

Angular apps, like any other kind of apps, can get big. One way of optimizing our apps is to avoid loading modules that we don't need immediately. This is called lazy-loading. You can learn more about it in the official documentation.

You Will Learn

Required Skills