Checking for a notice

node-cdn-url-auth-cdk.svrlss.advancelocal.dev

node-cdn-url-auth-cdk

Two sites from one AWS CDK stack in TypeScript: a public page that shows a site notice, and an admin site at admin.<hostname> where invited people sign in with Cognito, by email code or Entra, to set it. Saving writes the notice to the table and to a notice.json that CloudFront caches for 30 seconds and that other sites may read through CORS. The admin function keeps the session in an HttpOnly cookie, so the browser never holds a token.

App

Runs on

Foundation

Deployed with AWS CDK, one TypeScript stack. How it works

π