GraphQL on serverless: beautify legacy APIs

SPEAKERS: Matteo Joliveau & Nicola Racco

DATE Wednesday, October 23

LOCATION EMiT Feltrinelli - piazzale A. Cantore 10

Updating legacy APIs and services is expensive and often straight-out impossible, but modern applications require more flexible APIs and offline-first support. Using GraphQL and AWS Lambda we can build a modern API while maintaining the existing infrastructure and services.


Click here to know how to obtain these discounts.

LANGUAGE
Italian

LEVEL
Medium

DURATION
09:00 - 18:00 CEST (1 hour lunch break)

CHECK IN 8:30 - 9:00

PRICES

You can buy:

  • Only the workshop ticket, to attend 1 of the workshops held on October 22nd – 23rd

– 100 € for the first 20 tickets!
– 180 € until October 22nd (5 PM)

  • Combo Special offer for the first 20 tickets!
  • Combo: 1 WORKSHOP + CONFERENCE TICKET WITH A 15% DISCOUNT ON THE TOTAL PRICE, that gives you the right to attend 1 of the workshops (October 22nd – 23rd) and both days of conference (October 24th – 25th).

There are no student discount neither for the workshops nor for the Combo ticket


Click here to know how to obtain these discounts.

Matteo Joliveau is a young solution engineer at Mikamai, an unconventional software house based in Milan and focused on cloud-native applications. His main technological interests are container orchestration, authentication and authorization systems, distributed backends, and functional programming.

Nicola Racco is a Tech Lead and partner at Mikamai. In his day to day work, he is focused on product envision, architectures and team management while he remains a software developer enthusiast at heart.

ABSTRACT

Updating legacy APIs and services is cumbersome, expensive and often straight-out impossible. On the other hand, modern applications require more flexible APIs, real-time data streams and offline-first support. Using GraphQL to power new applications allows reusing the current infrastructure by proxying and composing requests to the legacy services without having to rewrite them while keeping cost at a minimum by deploying the new API layer as serverless functions on AWS Lambda. We’ll start by building a simple GraphQL API and then look at how to deploy it in the cloud at practically no cost

TABLE OF CONTENTS

Introduction to GraphQL

– What are data graphs

– The Schema Definition Language. Types, Queries and Mutations

– How to build a GraphQL API using NodeJS and Apollo Server

GraphQL Patterns and Best Practices

– Versioning

– Pagination

– Naming conventions

– Caching

Quick Introduction to AWS Lambda and the Serverless Framework

– New project init

– Configuration and Setup

– Application design for serverless functions

– Cloud resources management with CloudFormation

Proxying existing APIs

– Converting an example REST API to a GraphQL Schema

– Mapping REST JSON objects to GraphQL types

– Modularising code with types and resolvers

– Authentication and Authorization

Deploying the API as a Lambda

– Publishing and testing the endpoint

TRAINING OBJECTIVES

This workshop will teach you:

– how to properly design and build GraphQL APIs using NodeJS

– how to proxy existing services and restructure the data as interconnected graphs

– how to deploy a GraphQL endpoint as a serverless function using AWS Lambda

WHO THE WORKSHOP IS DEDICATED TO?

Backend developers who are already confident with REST APIs and 12 Factor applications who want to start using new technologies and methodologies without having to rewrite expensive, long-lasting legacy software.

PREREQUIREMENTS

  • Good knowledge of ECMAScript 6+ and NodeJS
  • Good knowledge of API backends design and implementation
  • Basic knowledge of the AWS ecosystem is nice to have, but not required

HARDWARE AND SOFTWARE REQUIREMENTS

  • Your own laptop
  • NodeJS 10 or later Your browser of choice
  • Your text editor of choice
  • An AWS account (all resources used are available in the free tier)
  • Optional but recommended, a GraphQL client like Altair or GraphiQL

WARNING
Seats are limited.
The workshop will be held only if the minimun number of attendees is reached.


Click here to know how to obtain these discounts.

Back to workshops list

Main Sponsor