Focus architecture for Payments micro-frontend.

Goal

End result user flow.

Prerequisites

Introduce APIs to Payments

cd mfe-payments
amplify add api
amplify push
Generated code by add command.
Part of resources generated by CloudFormation stack.
The Payment model.

Supporting multi-tenancy

Saas model with multi-tenancy.
Create custom attributes in Cognito Users Pools.

Magic @nnotations

Auth annotation with defined rule.
amplify import auth
amplify push
CRUD operations on payment model.
Unauthorized mutation.

UI frontend changes

Access tokens vs ID tokens

amplify publish 

Demo time!

Frontend Limitations & Improvements

Backend Limitations & Improvements

--

--

--

Engineering Manager| Architect | Team/Tech Lead with a passion for frontend, backend and cloud | AWS Community Builder

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Data Structure — Bubble Sort Algorithm

Execute OTBI Analysis using Web Services

Announcing 250k GMEE Staking Event!

Installing Java JDK with JavaFX on the Raspberry Pi

Switching between different Java JDK versions

Ghost II — Controlling An RC Car With A Computer

How to create immutable class in java

Axis, an application for fortifying and connecting the business loops

On-premise To Cloud To Serverless To Cloud Native To Serverless Less Applications??

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Antonio Lagrotteria

Antonio Lagrotteria

Engineering Manager| Architect | Team/Tech Lead with a passion for frontend, backend and cloud | AWS Community Builder

More from Medium

E2E testing made easy with NestJS — part 3 of GraphQL + NodeJS + MongoDB series

Deploying Typescript Lambdas to AWS with the CDK

Fixing vulnerabilities found in a dependency tree

Migrating from Apollo Server v2 to v3 — Part 1

Photo from the moon looking back at the earth