Skip to content

Commit 56a5c17

Browse files
committed
for github compatibility, replaced architecture-beta diagrams with
standard graph LR (left-to-right) diagrams using emoji icons
1 parent 1927ba0 commit 56a5c17

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

README.md

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -34,33 +34,35 @@ hugo && aws s3 sync public/ s3://bryanchasko.com --profile websites-bryanchasko
3434
### Website Architecture
3535

3636
```mermaid
37-
architecture-beta
38-
service user(logos:aws-route53)[User Browser]
39-
service dns(logos:aws-route53)[Route 53 DNS]
40-
service cdn(logos:aws-cloudfront)[CloudFront CDN]
41-
service functions(logos:aws-lambda)[CloudFront Functions]
42-
service bucket(logos:aws-s3)[S3 Bucket]
43-
44-
user:R -- L:dns
45-
dns:R -- L:cdn
46-
cdn:B -- T:functions
47-
functions:B -- T:bucket
37+
graph LR
38+
A["🌐 User Browser"] -->|HTTPS| B["🔍 Route 53 DNS"]
39+
B -->|Resolves| C["⚡ CloudFront CDN"]
40+
C -->|Edge Logic| D["λ CloudFront Functions"]
41+
D -->|SigV4 Signed| E["📦 S3 Bucket"]
42+
43+
style A fill:#e1f5ff
44+
style B fill:#fff3e0
45+
style C fill:#f3e5f5
46+
style D fill:#e8f5e9
47+
style E fill:#fce4ec
4848
```
4949

5050
### CI/CD Pipeline
5151

5252
```mermaid
53-
architecture-beta
54-
service github(logos:github-actions)[GitHub]
55-
service runner(logos:github-actions)[GitHub Actions]
56-
service cli(logos:aws-cli)[AWS CLI]
57-
service s3(logos:aws-s3)[S3 Deploy]
58-
service cdn_invalidate(logos:aws-cloudfront)[CloudFront Invalidate]
59-
60-
github:R -- L:runner
61-
runner:B -- T:cli
62-
cli:B -- T:s3
63-
s3:R -- L:cdn_invalidate
53+
graph LR
54+
A["📝 GitHub"] -->|Push| B["⚙️ GitHub Actions"]
55+
B -->|Build & Test| C["🔨 Hugo Build"]
56+
C -->|npm test| D["✅ Tests Pass"]
57+
D -->|aws s3 sync| E["📦 S3 Deploy"]
58+
E -->|Invalidate| F["⚡ CloudFront Cache"]
59+
60+
style A fill:#f5f5f5
61+
style B fill:#fff3e0
62+
style C fill:#e3f2fd
63+
style D fill:#e8f5e9
64+
style E fill:#fce4ec
65+
style F fill:#f3e5f5
6466
```
6567

6668
## 🚀 How to Replicate This Stack for Your Own Site

0 commit comments

Comments
 (0)