{"id":18229271,"url":"https://github.com/geraltwang/next-finance","last_synced_at":"2026-02-08T04:33:48.042Z","repository":{"id":251407764,"uuid":"837183475","full_name":"GeraltWang/next-finance","owner":"GeraltWang","description":"Personal expense management app powered by Next.js","archived":false,"fork":false,"pushed_at":"2024-12-10T02:52:15.000Z","size":1018,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T00:01:56.139Z","etag":null,"topics":["clerk","hono","neondb","nextjs15","prisma","recharts","shadcn-ui","tanstack-query","tanstack-table","zod","zustand"],"latest_commit_sha":null,"homepage":"https://nf.muycloud.cc","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GeraltWang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-08-02T11:47:59.000Z","updated_at":"2024-12-10T02:52:19.000Z","dependencies_parsed_at":"2024-10-25T22:46:04.443Z","dependency_job_id":"45d67a0f-12a0-4089-b471-92d53fe66e74","html_url":"https://github.com/GeraltWang/next-finance","commit_stats":{"total_commits":160,"total_committers":3,"mean_commits":"53.333333333333336","dds":0.475,"last_synced_commit":"5204f3504295fb8f3904182eb29e326357986770"},"previous_names":["geraltwang/next-finance"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/GeraltWang/next-finance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeraltWang%2Fnext-finance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeraltWang%2Fnext-finance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeraltWang%2Fnext-finance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeraltWang%2Fnext-finance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GeraltWang","download_url":"https://codeload.github.com/GeraltWang/next-finance/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeraltWang%2Fnext-finance/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267329896,"owners_count":24069939,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["clerk","hono","neondb","nextjs15","prisma","recharts","shadcn-ui","tanstack-query","tanstack-table","zod","zustand"],"created_at":"2024-11-04T09:03:47.360Z","updated_at":"2026-02-08T04:33:48.014Z","avatar_url":"https://github.com/GeraltWang.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv style=\"text-align: center; margin-top: 50px;\"\u003e\n    \u003ch1\u003eNext Finance\u003c/h1\u003e\n    \u003cimg src=\"public/logo.svg\" alt=\"next-finance logo\"\u003e\n\u003c/div\u003e\n\nThis is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).\n\n## Getting Started 🚀\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n# or\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nYou can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.\n\nThis project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.\n\n## Tech Stack 🛠️\n\n- Framework: [`React`](https://react.dev/), [`Next.js`](https://nextjs.org/)\n- Styling: [`Tailwind CSS`](https://tailwindcss.com/)\n- UI [`shadcn/ui`](https://ui.shadcn.com/)\n- ORM: [`Prisma`](https://prisma.io/)\n- API: [`hono`](https://hono.dev/)\n- Authentication: [`Clerk`](https://clerk.com/)\n\n## Apple Shortcuts\n\nYou can use the following shortcut to quickly add expenses to your account.\nBefore using the shortcut, you need to create a PAT token in the settings page then copy and paste it in the shortcut dictionary `Authorization` key.\n\n- shortcut: [`Add Expense`](https://www.icloud.com/shortcuts/0bdb5dbe57b5462aaf906db47f1eda9f)\n\n## Exposed API Documentation\n\n### Endpoints\n\n- All endpoints are prefixed with `/api/expose`.\n- All endpoints require a valid `Bearer \u003cyour-pat-token\u003e`token in the`Authorization` header.\n- You can generate PAT token in settings page.\n\n#### 1. Get all accounts\n\n- **Endpoint:** `/api/expose/accounts`\n- **Method:** `GET`\n- **Request Headers:**\n\n  - `Authorization`: Bearer PAT Token\n\n- **Response:**\n  ```json\n  {\n  \t\"data\": [\n  \t\t{\n  \t\t\t\"id\": \"string\",\n  \t\t\t\"name\": \"string\"\n  \t\t}\n  \t]\n  }\n  ```\n\n#### 2. Get all categories\n\n- **Endpoint:** `/api/expose/categories`\n- **Method:** `GET`\n- **Request Headers:**\n\n  - `Authorization`: Bearer PAT Token\n\n- **Response:**\n\n  ```json\n  {\n  \t\"data\": [\n  \t\t{\n  \t\t\t\"id\": \"string\",\n  \t\t\t\"name\": \"string\"\n  \t\t}\n  \t]\n  }\n  ```\n\n#### 3. Add a new expense\n\n- **Endpoint:** `/api/expose/add-expense`\n- **Method:** `POST`\n- **Request Headers:**\n\n  - `Authorization`: Bearer PAT Token\n\n- **Request Body:**\n\n  ```json\n  {\n  \t\"accountName\": \"string\",\n  \t\"categoryName\": \"string\",\n  \t\"amount\": \"number\",\n  \t\"payee\": \"string\"\n  }\n  ```\n\n## Learn More 📚\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\n## Deploy on Vercel 🚀\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeraltwang%2Fnext-finance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeraltwang%2Fnext-finance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeraltwang%2Fnext-finance/lists"}