{"id":29294109,"url":"https://github.com/cingfong/invoice-pdf","last_synced_at":"2025-07-06T12:08:58.489Z","repository":{"id":288865543,"uuid":"964986610","full_name":"cingfong/invoice-pdf","owner":"cingfong","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-22T08:33:22.000Z","size":15709,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T09:29:29.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://invoice-pdf-inky.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cingfong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-12T06:51:52.000Z","updated_at":"2025-06-22T08:32:20.000Z","dependencies_parsed_at":"2025-06-07T23:04:02.190Z","dependency_job_id":null,"html_url":"https://github.com/cingfong/invoice-pdf","commit_stats":null,"previous_names":["cingfong/invoice-pdf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cingfong/invoice-pdf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cingfong%2Finvoice-pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cingfong%2Finvoice-pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cingfong%2Finvoice-pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cingfong%2Finvoice-pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cingfong","download_url":"https://codeload.github.com/cingfong/invoice-pdf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cingfong%2Finvoice-pdf/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263898011,"owners_count":23526835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-06T12:08:57.188Z","updated_at":"2025-07-06T12:08:58.479Z","avatar_url":"https://github.com/cingfong.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 發票與帳單 PDF 產生系統\n\n這是一個基於 Nuxt.js 開發的網頁應用程式，主要用途是紀錄帳單資料並生成 PDF 格式的發票或帳單文件。\n\n## 技術堆疊\n\n- **前端框架**: [Nuxt 3](https://nuxt.com/) (Vue 3 框架)\n- **UI 組件**: [@nuxt/ui](https://ui.nuxt.com/)\n- **表單驗證**: [VeeValidate](https://vee-validate.logaretm.com/)\n- **樣式**: [Tailwind CSS](https://tailwindcss.com/)\n- **資料庫連接**: [Neon Database](https://neon.tech/) (Serverless Postgres)\n\n## 功能特點\n\n- 建立和管理帳單記錄\n- 計算訂單項目總價\n- 生成 PDF 格式的發票/帳單\n- 儲存和檢視歷史帳單記錄\n\n## 安裝與設定\n\n### 前置需求\n\n- Node.js (建議版本: 20.x 或更高)\n- pnpm (推薦) 或 npm\n\n### 安裝步驟\n\n1. 克隆專案：\n\n```bash\ngit clone [專案 URL]\ncd invoice-pdf\n```\n\n2. 安裝相依套件：\n\n```bash\n# 使用 pnpm\npnpm install\n\n# 或使用 npm\nnpm install\n```\n\n## 開發環境\n\n啟動開發伺服器 (預設位址為 `http://localhost:3000`):\n\n```bash\n# 使用 pnpm\npnpm dev\n\n# 或使用 npm\nnpm run dev\n```\n\n## 建置與部署\n\n建置生產版本：\n\n```bash\n# 使用 pnpm\npnpm build\n\n# 或使用 npm\nnpm run build\n```\n\n本機預覽生產版本：\n\n```bash\n# 使用 pnpm\npnpm preview\n\n# 或使用 npm\nnpm run preview\n```\n\n## 專案結構說明\n\n- `pages/`: 網頁路由和主要頁面\n- `components/`: 可重複使用的 Vue 組件\n- `server/api/`: API 端點處理\n- `constant/`: 常數和型別定義\n- `assets/`: 全域 CSS 和靜態資源\n\n更多關於部署的資訊，請參考 [Nuxt 部署文件](https://nuxt.com/docs/getting-started/deployment)。\n\n\u003c!-- TODO: 待補  --\u003e\n\n- 錯誤彈窗顯示\n- MERGE 沒有刪除分支以及新增 commit 的點\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcingfong%2Finvoice-pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcingfong%2Finvoice-pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcingfong%2Finvoice-pdf/lists"}