qia/CLAUDE.md
ddshi d0b541473e feat: 集成浏览器通知提醒功能
子模块更新:
- client: feat: 实现浏览器通知提醒功能
- server: fix: 修复跨域凭证配置

项目变更:
- 添加 CLAUDE.md 项目说明文档
- 添加设置页面截图
- 添加应用图标

功能特性:
- Service Worker 后台定时检查提醒(30秒间隔)
- 浏览器通知 API 集成
- 提醒同步机制(创建/更新提醒时自动同步到 SW)
- 10分钟宽限期处理后台运行不稳定情况

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-11 14:46:29 +08:00

1.4 KiB

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/)

cd client
pnpm install
pnpm dev      # Start dev server (http://localhost:5173)
pnpm build    # Production build
pnpm lint     # Run ESLint

Backend (server/)

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.