8000 GitHub - oatrice/FireflyBridge
[go: up one dir, main page]

Skip to content

oatrice/FireflyBridge

Repository files navigation

Quality Gate Status Coverage Bugs Vulnerabilities

FireflyBridge

Monorepo สำหรับโปรเจ็ค FireflyBridge จัดการด้วย pnpm workspaces

โครงสร้างโปรเจ็ค (Project Structure)

  • apps/frontend: Web Application (Next.js)
  • apps/backend: Backend Service (TypeScript)

การเริ่มต้นใช้งาน (Getting Started)

  1. ติดตั้ง Dependencies:

    pnpm install
  2. รันโปรเจ็ค (Development):

    • รัน Frontend: pnpm dev:frontend
    • รัน Backend: pnpm dev:backend

การ Deploy (Deployment)

Deploy to Vercel

  1. Push โค้ดขึ้น GitHub:

    git init
    git add .
    git commit -m "Initial commit"
    git remote add origin <your-repo-url>
    git push -u origin main
  2. Deploy ผ่าน Vercel Dashboard:

    • ไปที่ vercel.com
    • เลือก "Import Project"
    • เชื่อมต่อ GitHub repository
    • Vercel จะ detect Next.js และ Elysia อัตโนมัติ
    • คลิก "Deploy"
  3. หรือใช้ Vercel CLI:

    npm i -g vercel
    vercel

API Endpoint

  • GET /api/hotlines - รายการเบอร์โทรฉุกเฉิน
  • GET /api/external-links - ลิงก์แพลตฟอร์มภายนอก
  • GET /api/shelters - ข้อมูลศูนย์พักพิง

Releases

No releases published

Packages

No packages published
0