Skip to content

snapfund/client-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

SnapFund Status Page

SnapFund ์„œ๋น„์Šค ์ƒํƒœ ํŽ˜์ด์ง€

๊ธฐ์ˆ  ์Šคํƒ

  • Frontend: Next.js 14 + TailwindCSS
  • Hosting: Vercel
  • Data Store: Upstash Redis
  • Monitoring: GitHub Actions (5๋ถ„ Cron)
  • Alerts: Discord Webhook

๋ชจ๋‹ˆํ„ฐ๋ง ๋Œ€์ƒ

์„œ๋น„์Šค URL
API Server https://api.snapfund.xyz/health
๋ฉ”์ธ ์‚ฌ์ดํŠธ https://snapfund.xyz
๋Œ€์‹œ๋ณด๋“œ https://dash.snapfund.xyz
๊ณ ๊ฐ์„ผํ„ฐ https://help.snapfund.xyz
๊ฒฐ์ œ ์‹œ์Šคํ…œ https://api.snapfund.xyz/api/payments/health

์„ค์ •

1. Upstash Redis ์ƒ์„ฑ

  1. https://upstash.com ์ ‘์†
  2. Redis ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ƒ์„ฑ
  3. REST URL๊ณผ Token ๋ณต์‚ฌ

2. Vercel ๋ฐฐํฌ

npm install
vercel

ํ™˜๊ฒฝ ๋ณ€์ˆ˜ ์„ค์ •:

  • UPSTASH_REDIS_REST_URL
  • UPSTASH_REDIS_REST_TOKEN

3. GitHub Actions Secrets ์„ค์ •

Repository Settings > Secrets > Actions:

  • UPSTASH_REDIS_REST_URL
  • UPSTASH_REDIS_REST_TOKEN
  • DISCORD_WEBHOOK_URL

4. ์ปค์Šคํ…€ ๋„๋ฉ”์ธ (Cloudflare)

DNS ๋ ˆ์ฝ”๋“œ ์ถ”๊ฐ€:

Type: CNAME
Name: status
Target: cname.vercel-dns.com

๊ฐœ๋ฐœ

npm install
npm run dev

http://localhost:3000 ์ ‘์†

API

  • GET /api/status - ํ˜„์žฌ ์ƒํƒœ
  • GET /api/history?days=90 - ๊ฐ€๋™๋ฅ  ํžˆ์Šคํ† ๋ฆฌ
  • GET /api/incidents - ์ธ์‹œ๋˜ํŠธ ๋ชฉ๋ก

Releases

No releases published

Packages

 
 
 

Contributors