概要
A personal finance tracker you can talk to. Log spending and income in plain English, browse your ledger, and see charts — all in one clean dashboard.
ビジネス・金融計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- -3
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルFinServe 💸
CA: 0x40266650ca11d75d46c4ccf3e7fe381e3103d71e
A personal finance tracker you can talk to. Log spending and income in plain English, browse your ledger, and see charts — all in one clean dashboard.
Features
Chat — Describe transactions naturally and the AI logs them for you.
Spent $45 on groceries
Got paid $3000 salary
Uber $22 · Netflix $15
Undo last entry
Overview — Income, expenses, balance, category breakdown, and a 6-month trend chart.
Ledger — Search, edit, and delete any transaction manually.
Tech stack
| Layer | Tools |
|---|---|
| Frontend | React 19, Vite, Recharts, Lucide |
| Backend | Express 5, LowDB (JSON file storage) |
| AI | OpenRouter → Claude Sonnet |
Prerequisites
- Node.js 18+
- An OpenRouter API key (for the chat feature)
Quick start
1. Install dependencies
npm install
2. Configure environment
Create a .env file in the project root:
API_KEY=your_openrouter_api_key_here
3. Start the API (terminal 1)
npm run server
Runs at http://localhost:3001
4. Start the frontend (terminal 2)
npm run dev
Open the URL Vite prints (usually http://localhost:5173).
Scripts
| Command | Description |
|---|---|
npm run dev |
Start Vite dev server with hot reload |
npm run server |
Start Express API on port 3001 |
npm run build |
Production build → dist/ |
npm run preview |
Preview the production build |
npm run lint |
Run ESLint |
API
| Method | Endpoint | Description |
|---|---|---|
GET |
/api/transactions |
List all transactions |
POST |
/api/transactions |
Add a transaction manually |
PATCH |
/api/transactions/:id |
Edit a transaction |
DELETE |
/api/transactions/:id |
Delete a transaction |
GET |
/api/stats |
Dashboard stats and charts data |
POST |
/api/chat |
Send a message; AI parses and logs transactions |
Data is persisted in server/db.json.
Project structure
finserve/
├── src/
│ ├── components/
│ │ ├── Chat.jsx # AI chat interface
│ │ ├── Dashboard.jsx # Overview & charts
│ │ ├── Transactions.jsx # Ledger with search
│ │ └── EditModal.jsx # Edit transaction modal
│ ├── App.jsx
│ └── main.jsx
├── server/
│ ├── index.js # Express API + LLM integration
│ ├── db.js # LowDB setup
│ └── db.json # Transaction storage
├── .env # API_KEY (not committed)
└── package.json
Categories
The AI assigns one of these when logging transactions:
Food · Transport · Shopping · Entertainment · Health · Housing · Utilities · Tech · Income · Investment · Other
Notes
- Chat history is saved in your browser's
localStorage. - The chat endpoint needs a valid
API_KEY; other pages work without it. - Keep your
.envfile private and never commit API keys.
関連プロジェクトを探す
読み込み中…