61 lines
623 B
Markdown
61 lines
623 B
Markdown
Architecture
|
|
|
|
High Level Architecture
|
|
|
|
Internet
|
|
|
|
|
v
|
|
Nginx
|
|
|
|
|
v
|
|
Go Fiber
|
|
|
|
|
+-- MariaDB
|
|
|
|
|
+-- Static Files
|
|
|
|
Components
|
|
|
|
Nginx
|
|
|
|
Responsibilities:
|
|
|
|
- SSL Termination
|
|
- Reverse Proxy
|
|
- Static Asset Cache
|
|
|
|
Fiber
|
|
|
|
Responsibilities:
|
|
|
|
- Routing
|
|
- Authentication
|
|
- Business Logic
|
|
- Template Rendering
|
|
|
|
MariaDB
|
|
|
|
Responsibilities:
|
|
|
|
- User Data
|
|
- Blog Posts
|
|
- Projects
|
|
- Contact Messages
|
|
|
|
HTMX
|
|
|
|
Responsibilities:
|
|
|
|
- Partial Page Updates
|
|
- Dynamic Admin UI
|
|
|
|
Rendering Strategy
|
|
|
|
Server Side Rendering (SSR)
|
|
|
|
HTML generated by Go templates.
|
|
|
|
HTMX used only where interaction is required.
|
|
|
|
No SPA architecture tapi bisa seperti tampilan SPA
|