An app to mange the configuration of Project Gwyneth-powered ads
This PoC uses the Architect framework to scaffold resources and deploy a serverless app to AWS. Technologies used include Lambda, DynamoDB, API Gateway and S3.
graph TD
subgraph AWS
aws.db[DynamoDB]
aws.s3[S3 static assets]
aws.api[Lambda API]
end
fastlyApp[pg.ft.com/app]
fastlyApi[pg.ft.com/api/:appId]
aws.s3 --> app --> fastlyApp
aws.api --> fastlyApi
app((Configurator)) -- POST/PUT --> aws.api -- write --> aws.db -- read --> aws.api -- GET --> app
- In a terminal window, run
npm run dev:api
- In another terminal window, run
npm run dev:app
The app will be available at http://local.ft.com:3000
, reading data from http://localhost:3333
- Run
npm run deploy
to build/app
and deploy assets and infra to AWS