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

How Does PolarDB Help Baison Software Solve Database Challenges at Peak Times?

Launching WordPress_MySQL Application On the K8s Cluster in AWS Using Ansible..

4 Great YouTube Channels, that Will Improve Your Programming Skill

Setup Your Own Recon Machine on Digital Ocean

Modern Data Analytics Ecosystem — Data Mesh Architecture Delivering Data Value at Scale

[Leetcode] Single Number

Spark Interview Guide : Part 3 : Spark SQL & Dataframe

How to Upgrade Your Debian Server on ECS

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

Microservices with Serverless — Part 1: Introduction

Obsidian 4.0.0 Launch: Deno GraphQL caching solution

Handle unrecognized pattern of RabbitMQ with Nestjs server-side

How to create authentication system with JWT using NestJS and Prisma.