สถาปัตยกรรมระบบ theprogrammist.net/library

สถาปัตยกรรมระบบ theprogrammist.net/library An architecture diagram generated by Archify. ผู้อ่าน · เบราว์เซอร์ · Architecture component ผู้อ่าน เบราว์เซอร์ AI agent / crawler · llms.txt · .md · Architecture component AI agent / crawler llms.txt · .md ผู้เขียน · มือถือ / Mac · Architecture component ผู้เขียน มือถือ / Mac Google Analytics · G-Q8JHKBX2NV · Architecture component Google Analytics G-Q8JHKBX2NV Cloudflare · DNS + proxy · Architecture component · Cloudflare Cloudflare DNS + proxy Astro Node server · @astrojs/node :8080 · Railway service · theprogrammist-home · /healthz Astro Node server @astrojs/node :8080 /healthz Static files · HTML · .md · llms.txt · Railway service · theprogrammist-home Static files HTML · .md · llms.txt Keystatic CMS · /keystatic · /api · Railway service · theprogrammist-home Keystatic CMS /keystatic · /api Railpack build · npm run build · Architecture component · Railway Railpack build npm run build Content repo · theprogrammist-library · GitHub · GitHub Content repo theprogrammist-library GitHub App · author login · GitHub · GitHub GitHub App author login HTTPS /keystatic after cookie consent proxy serve middleware commit OAuth push main deploy Railway service · theprogrammist-home GitHub Legend Frontend Backend Database Cloud Security External

Edge / DNS

  • • Cloudflare ชี้ theprogrammist.net และ www มาที่ Railway
  • • URL หลักคือ www; เปิด CMS จาก theprogrammist.net จะ redirect ไป www

Runtime

  • • Node service ตัวเดียว ส่งหน้า HTML ที่สร้างไว้ล่วงหน้า (prerender)
  • • มีแค่ /keystatic, /api และ /healthz ที่ทำงานฝั่ง server ตอนมีคำขอ

Content & login

  • • บทความเป็นไฟล์ใน GitHub ไม่มี database
  • • ผู้เขียน login ผ่าน GitHub App; GA โหลดหลังกดยอมรับคุกกี้เท่านั้น