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 |
- https://upstash.com ์ ์
- Redis ๋ฐ์ดํฐ๋ฒ ์ด์ค ์์ฑ
- REST URL๊ณผ Token ๋ณต์ฌ
npm install
vercelํ๊ฒฝ ๋ณ์ ์ค์ :
UPSTASH_REDIS_REST_URLUPSTASH_REDIS_REST_TOKEN
Repository Settings > Secrets > Actions:
UPSTASH_REDIS_REST_URLUPSTASH_REDIS_REST_TOKENDISCORD_WEBHOOK_URL
DNS ๋ ์ฝ๋ ์ถ๊ฐ:
Type: CNAME
Name: status
Target: cname.vercel-dns.com
npm install
npm run devhttp://localhost:3000 ์ ์
GET /api/status- ํ์ฌ ์ํGET /api/history?days=90- ๊ฐ๋๋ฅ ํ์คํ ๋ฆฌGET /api/incidents- ์ธ์๋ํธ ๋ชฉ๋ก