1
minute
15. Backend framework
Date: 2024-11-25
Status
Accepted
Context
We need to enable and secure access to backend and external API.
Decision
We will use Express to develop our backend and secure acess to Google Drive API.
Consequences
To secure Google Drive API access, we will implement call on backend side.
---
config:
look: handDrawn
theme: neutral
---
flowchart LR
Front[Ionic Frontend]
Back[Express Server]
Auth0{{Auth0}}
Google{{Google Identity}}
Drive{{Google Drive}}
Front --Authorization Code Flow with PKCE--> Auth0
Auth0 --AuthN--> Google
Front --List Drive--> Back
Back --Get Access Token--> Google
Back --Access Gougle Drive API-->Drive