由 Arslan Shakil 出售

Invoice & Billing Manager System
A full-stack Invoice & Billing Manager built with TypeScript, React, and Express. This application enables users to manage clients, create and track invoices, and generate PDF documents. Features JWT-based authentication, SQLite persistence, and a responsive UI with real-time status tracking.
| Layer | Technology |
|---|---|
| Frontend | React 19, React Router 7, TypeScript, Tailwind CSS, Vite |
| Backend | Node.js, Express, TypeScript |
| Database | SQLite (via better-sqlite3) |
| Auth | JWT (jsonwebtoken), bcryptjs |
| Validation | Zod |
| PDFKit | |
| Build | Vite (frontend), TypeScript compiler (backend) |
cd backend
npm install
npm run build
npm start
The API server runs on port 9050 by default.
Development mode with hot-reload:
npm run dev
Environment Variables:
| Variable |
|---|
启动隔离沙箱并在服务器端直接运行 — 无需本地配置。
将此产品直接导入你的 AI IDE、网页构建器或云端 IDE。
将 Tetrees 连接到兼容的 AI IDE,列出你拥有的产品并获取已验证 ZIP,同时不会开放卖家上传权限。
暂无评价。
Sign in to join the discussion
Loading discussion…
| Default |
|---|
| Description |
|---|
PORT | 9050 | HTTP server port |
JWT_SECRET | invoice_secret_key_2024 | JWT signing secret (set in production) |
cd frontend
npm install
npm run dev
The frontend runs on port 5173 by default (Vite dev server).
Build for production:
npm run build
All endpoints are prefixed with /api. Protected endpoints require a Bearer token in the Authorization header.
GET /api/healthReturns server status. No authentication required.
curl http://localhost:9050/api/health
Response:
{
"status": "ok",
"timestamp": "2024-06-15T10:30:00.000Z"
}
POST /api/auth/registerCreate a new user account.
Request body:
{
"email": "user@example.com",
"password": "password123",
"name": "Jane Smith"
}
POST /api/auth/loginAuthenticate and receive a JWT token.
Request body:
{
"email": "user@example.com",
"password": "password123"
}
Response:
{
"data": {
"token": "eyJhbGciOiJIUzI1NiIs...",
"user": {
"id": "uuid",
"email": "user@example.com",
"name": "Jane Smith"
}
}
}
GET /api/clientsList all clients for the authenticated user.
POST /api/clientsCreate a new client.
Request body:
{
"name": "Acme Corp",
"email": "contact@acme.com",
"phone": "+1 (555) 000-0000",
"address": "123 Main St, City, State 12345"
}
PUT /api/clients/:idUpdate a client by ID.
DELETE /api/clients/:idDelete a client by ID.
GET /api/invoicesList all invoices for the authenticated user.
POST /api/invoicesCreate a new invoice.
Request body:
{
"clientId": "uuid",
"dueDate": "2024-12-31",
"lineItems": [
{
"description": "Web Design",
"quantity": 1,
"unitPrice": 5000
}
],
"notes": "Thank you for your business"
}
PUT /api/invoices/:idUpdate an invoice (status, line items, due date, etc.).
DELETE /api/invoices/:idDelete an invoice by ID.
GET /api/invoices/:id/pdfDownload invoice as PDF.
Tetrees License
沙箱验证已完成,检测到的可运行路径已通过。
This Express backend / api completed archive review with strong static results. Structure, dependency manifests, documentation, functional source, and common risk patterns were checked by the Tetrees verification pipeline; runtime phases are stated separately. Final verified scores after isolated runtime evidence: overall 8.8 and security 9.
Deterministic AVCP artifact review
管道 avcp-2026-08-04.1 · SHA-256 eecbcfb813dd5410…
This version-scoped review deterministically inspects the submitted archive for structure, dependencies, documentation, functional source, and common malicious or high-risk signals. Build and test phases are reported as passed only after an isolated sandbox audition. It is not a guarantee of perfect security.
审查日期 2026年8月7日
完整安装指南与集成提示词将在购买后解锁。
Automation, Utilities & Developer Tools
US$6