Files
bodyshop/_reference/localEmailViewer/README.md

39 lines
1009 B
Markdown

This app connects to your Docker LocalStack endpoints and gives you a compact inspector for:
- SES generated emails
- CloudWatch log groups, streams, and recent events
```shell
npm start
```
Or:
```shell
node index.js
```
Open: http://localhost:3334
Features:
- SES email workspace with manual refresh, live refresh, search, HTML/text/raw views,
attachment downloads, and new-message highlighting
- CloudWatch Logs workspace with log group selection, stream filtering, adjustable time window,
adjustable event limit, live refresh, and in-browser log search
- Compact single-page UI for switching between the local stack tools you use most
Optional environment variables:
```shell
PORT=3334
SES_VIEWER_ENDPOINT=http://localhost:4566/_aws/ses
SES_VIEWER_REFRESH_MS=10000
SES_VIEWER_FETCH_TIMEOUT_MS=5000
CLOUDWATCH_VIEWER_ENDPOINT=http://localhost:4566
CLOUDWATCH_VIEWER_REGION=ca-central-1
CLOUDWATCH_VIEWER_LOG_GROUP=development
CLOUDWATCH_VIEWER_WINDOW_MS=900000
CLOUDWATCH_VIEWER_LIMIT=200
```