Build Cloudflare status D-Day dashboard
This commit is contained in:
parent
413b1ac7c0
commit
e5c54597c5
4 changed files with 420 additions and 12 deletions
20
README.md
20
README.md
|
|
@ -1,15 +1,19 @@
|
|||
# Elysia with Bun runtime
|
||||
# Cloudflare Status D-Day
|
||||
|
||||
## Getting Started
|
||||
To get started with this template, simply paste this command into your terminal:
|
||||
```bash
|
||||
bun create elysia ./elysia-example
|
||||
```
|
||||
Cloudflare 공식 Status API를 주기적으로 확인해 마지막 인시던트 이후 경과 일수를 보여주는 Elysia + Bun 대시보드입니다.
|
||||
|
||||
## Features
|
||||
|
||||
- 서버 시작 시 즉시 Cloudflare 상태 동기화
|
||||
- Elysia cron으로 5분마다 자동 갱신
|
||||
- 장애 없는 날 카운터, 전체 상태, 서비스 구성요소, 최근 인시던트, 유지보수 표시
|
||||
- `GET /api/status` JSON API와 `GET /healthz` 헬스체크 제공
|
||||
|
||||
## Development
|
||||
To start the development server run:
|
||||
|
||||
```bash
|
||||
bun install
|
||||
bun run dev
|
||||
```
|
||||
|
||||
Open http://localhost:3000/ with your browser to see the result.
|
||||
Open http://localhost:3000/ in your browser.
|
||||
|
|
|
|||
Loading…
Reference in a new issue