Compare commits
6 Commits
07df350268
...
d0b541473e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d0b541473e | ||
|
|
d6373a2664 | ||
|
|
1de919cba6 | ||
|
|
e27ec0726e | ||
|
|
0939d375c6 | ||
|
|
a1ed1a9d17 |
@ -97,7 +97,8 @@
|
||||
"Bash(git -C \"E:/qia\" commit -m \"chore: 更新子模块\")",
|
||||
"Bash(git -C \"E:/qia\" status)",
|
||||
"Bash(git -C E:/qia/client diff --stat)",
|
||||
"Bash(git -C E:/qia/server diff --stat)"
|
||||
"Bash(git -C E:/qia/server diff --stat)",
|
||||
"Bash(set PORT=3001)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
53
CLAUDE.md
Normal file
53
CLAUDE.md
Normal file
@ -0,0 +1,53 @@
|
||||
# CLAUDE.md
|
||||
|
||||
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
||||
|
||||
## Project Overview
|
||||
|
||||
"掐日子" (Qia Rizi) - AI 纪念日·提醒 - A Chinese calendar reminder app with anniversaries, reminders, and notes.
|
||||
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
qia/
|
||||
├── client/ # Frontend (React 19 + TypeScript + Vite)
|
||||
├── server/ # Backend (Node.js + Express + Prisma)
|
||||
├── docs/ # Documentation
|
||||
└── ui/ # Design assets
|
||||
```
|
||||
|
||||
## Commands
|
||||
|
||||
### Frontend (client/)
|
||||
```bash
|
||||
cd client
|
||||
pnpm install
|
||||
pnpm dev # Start dev server (http://localhost:5173)
|
||||
pnpm build # Production build
|
||||
pnpm lint # Run ESLint
|
||||
```
|
||||
|
||||
### Backend (server/)
|
||||
```bash
|
||||
cd server
|
||||
npm install
|
||||
npm run dev # Start dev server (http://localhost:3000)
|
||||
```
|
||||
|
||||
## Backend API Endpoints
|
||||
|
||||
| Endpoint | Method | Description |
|
||||
|----------|--------|-------------|
|
||||
| `/api/auth/register` | POST | User registration |
|
||||
| `/api/auth/login` | POST | User login |
|
||||
| `/api/auth/logout` | POST | Logout |
|
||||
| `/api/auth/me` | GET | Get current user |
|
||||
| `/api/auth/refresh` | POST | Refresh token |
|
||||
| `/api/events` | GET/POST | Events CRUD |
|
||||
| `/api/events/:id` | PUT/DELETE | Event operations |
|
||||
| `/api/notes` | GET/PUT | Notes operations |
|
||||
| `/api/ai/parse` | POST | AI event parsing |
|
||||
|
||||
## Frontend Architecture
|
||||
|
||||
See `client/CLAUDE.md` for detailed frontend guidance.
|
||||
2
client
2
client
@ -1 +1 @@
|
||||
Subproject commit 6fd1acc9993ff3a1088d3d80c0127ccdb6bacb44
|
||||
Subproject commit 2feb02becf6a83bc5b82150747951d9f8a6aa22a
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 81 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 84 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 84 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 64 KiB |
2
server
2
server
@ -1 +1 @@
|
||||
Subproject commit e44183e3e01d5cfc3629aa0495dfc6bc5cd052a5
|
||||
Subproject commit 875f902ac318961469ea2eb286c2b35afa18932b
|
||||
BIN
settings-page.png
Normal file
BIN
settings-page.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
BIN
掐日子@3x.png
Normal file
BIN
掐日子@3x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
Loading…
x
Reference in New Issue
Block a user