├── .dockerignore ├── .gitignore ├── LICENSE ├── README-部署.md ├── README.md ├── backend ├── .dockerignore ├── Dockerfile ├── Dockerfile.test ├── package-lock.json ├── package.json ├── src │ ├── database.ts │ ├── index.ts │ ├── middleware │ │ └── auth.ts │ └── routes │ │ ├── auth.ts │ │ ├── comments.ts │ │ ├── diary.ts │ │ ├── greeting.ts │ │ └── upload.ts ├── tsconfig.json └── uploads │ ├── 1763831356560-680543754.png │ ├── 1763831368024-366692620.png │ ├── 1763831393932-378554532.png │ ├── 1763832447334-331862127.png │ ├── 1763832464545-61831990.png │ ├── 1763832490412-345801355.png │ ├── 1763836025627-613312736.png │ ├── 1763836035148-160127984.png │ ├── 1763842125204-399688334.png │ └── 1763842130814-277139797.png ├── deploy.bat ├── deploy.sh ├── docker-compose.prod.yml ├── docker-compose.yml ├── env.example ├── frontend ├── .dockerignore ├── Dockerfile ├── Dockerfile.prod ├── img │ ├── 后台展示.png │ ├── 时间轴展示.png │ └── 首页展示.png ├── index.html ├── nginx.conf ├── nginx.prod.conf ├── package-lock.json ├── package.json ├── postcss.config.js ├── src │ ├── App.tsx │ ├── api │ │ └── client.ts │ ├── components │ │ ├── CommentSection.tsx │ │ ├── ContentRenderer.tsx │ │ ├── ImageInsertModal.tsx │ │ └── Layout.tsx │ ├── index.css │ ├── main.tsx │ ├── pages │ │ ├── Admin.tsx │ │ ├── DiaryDetail.tsx │ │ ├── Home.tsx │ │ └── Login.tsx │ └── vite-env.d.ts ├── tailwind.config.js ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts ├── package.json ├── start.bat ├── start.sh ├── test-mirror.sh ├── 创建.env文件说明.md ├── 前端修改指南.md ├── 完整部署指南.md ├── 快速启动.md ├── 推送和部署指南.md ├── 文档索引.md ├── 服务器部署优化说明.md ├── 服务器部署步骤.md ├── 服务器部署问题解决.md ├── 测试镜像源.md ├── 部署说明.md └── 配置检查清单.md /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/LICENSE -------------------------------------------------------------------------------- /README-部署.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/README-部署.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/README.md -------------------------------------------------------------------------------- /backend/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/.dockerignore -------------------------------------------------------------------------------- /backend/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/Dockerfile -------------------------------------------------------------------------------- /backend/Dockerfile.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/Dockerfile.test -------------------------------------------------------------------------------- /backend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/package-lock.json -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/src/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/src/database.ts -------------------------------------------------------------------------------- /backend/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/src/index.ts -------------------------------------------------------------------------------- /backend/src/middleware/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/src/middleware/auth.ts -------------------------------------------------------------------------------- /backend/src/routes/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/src/routes/auth.ts -------------------------------------------------------------------------------- /backend/src/routes/comments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/src/routes/comments.ts -------------------------------------------------------------------------------- /backend/src/routes/diary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/src/routes/diary.ts -------------------------------------------------------------------------------- /backend/src/routes/greeting.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/src/routes/greeting.ts -------------------------------------------------------------------------------- /backend/src/routes/upload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/src/routes/upload.ts -------------------------------------------------------------------------------- /backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/tsconfig.json -------------------------------------------------------------------------------- /backend/uploads/1763831356560-680543754.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/uploads/1763831356560-680543754.png -------------------------------------------------------------------------------- /backend/uploads/1763831368024-366692620.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/uploads/1763831368024-366692620.png -------------------------------------------------------------------------------- /backend/uploads/1763831393932-378554532.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/uploads/1763831393932-378554532.png -------------------------------------------------------------------------------- /backend/uploads/1763832447334-331862127.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/uploads/1763832447334-331862127.png -------------------------------------------------------------------------------- /backend/uploads/1763832464545-61831990.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/uploads/1763832464545-61831990.png -------------------------------------------------------------------------------- /backend/uploads/1763832490412-345801355.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/uploads/1763832490412-345801355.png -------------------------------------------------------------------------------- /backend/uploads/1763836025627-613312736.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/uploads/1763836025627-613312736.png -------------------------------------------------------------------------------- /backend/uploads/1763836035148-160127984.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/uploads/1763836035148-160127984.png -------------------------------------------------------------------------------- /backend/uploads/1763842125204-399688334.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/uploads/1763842125204-399688334.png -------------------------------------------------------------------------------- /backend/uploads/1763842130814-277139797.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/backend/uploads/1763842130814-277139797.png -------------------------------------------------------------------------------- /deploy.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/deploy.bat -------------------------------------------------------------------------------- /deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/deploy.sh -------------------------------------------------------------------------------- /docker-compose.prod.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/docker-compose.prod.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/env.example -------------------------------------------------------------------------------- /frontend/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/.dockerignore -------------------------------------------------------------------------------- /frontend/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/Dockerfile -------------------------------------------------------------------------------- /frontend/Dockerfile.prod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/Dockerfile.prod -------------------------------------------------------------------------------- /frontend/img/后台展示.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/img/后台展示.png -------------------------------------------------------------------------------- /frontend/img/时间轴展示.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/img/时间轴展示.png -------------------------------------------------------------------------------- /frontend/img/首页展示.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/img/首页展示.png -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/index.html -------------------------------------------------------------------------------- /frontend/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/nginx.conf -------------------------------------------------------------------------------- /frontend/nginx.prod.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/nginx.prod.conf -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/postcss.config.js -------------------------------------------------------------------------------- /frontend/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/src/App.tsx -------------------------------------------------------------------------------- /frontend/src/api/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/src/api/client.ts -------------------------------------------------------------------------------- /frontend/src/components/CommentSection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/src/components/CommentSection.tsx -------------------------------------------------------------------------------- /frontend/src/components/ContentRenderer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/src/components/ContentRenderer.tsx -------------------------------------------------------------------------------- /frontend/src/components/ImageInsertModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/src/components/ImageInsertModal.tsx -------------------------------------------------------------------------------- /frontend/src/components/Layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/src/components/Layout.tsx -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/src/index.css -------------------------------------------------------------------------------- /frontend/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/src/main.tsx -------------------------------------------------------------------------------- /frontend/src/pages/Admin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/src/pages/Admin.tsx -------------------------------------------------------------------------------- /frontend/src/pages/DiaryDetail.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/src/pages/DiaryDetail.tsx -------------------------------------------------------------------------------- /frontend/src/pages/Home.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/src/pages/Home.tsx -------------------------------------------------------------------------------- /frontend/src/pages/Login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/src/pages/Login.tsx -------------------------------------------------------------------------------- /frontend/src/vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/src/vite-env.d.ts -------------------------------------------------------------------------------- /frontend/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/tailwind.config.js -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /frontend/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/tsconfig.node.json -------------------------------------------------------------------------------- /frontend/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/frontend/vite.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/package.json -------------------------------------------------------------------------------- /start.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/start.bat -------------------------------------------------------------------------------- /start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/start.sh -------------------------------------------------------------------------------- /test-mirror.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/test-mirror.sh -------------------------------------------------------------------------------- /创建.env文件说明.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/创建.env文件说明.md -------------------------------------------------------------------------------- /前端修改指南.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/前端修改指南.md -------------------------------------------------------------------------------- /完整部署指南.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/完整部署指南.md -------------------------------------------------------------------------------- /快速启动.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/快速启动.md -------------------------------------------------------------------------------- /推送和部署指南.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/推送和部署指南.md -------------------------------------------------------------------------------- /文档索引.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/文档索引.md -------------------------------------------------------------------------------- /服务器部署优化说明.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/服务器部署优化说明.md -------------------------------------------------------------------------------- /服务器部署步骤.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/服务器部署步骤.md -------------------------------------------------------------------------------- /服务器部署问题解决.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/服务器部署问题解决.md -------------------------------------------------------------------------------- /测试镜像源.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/测试镜像源.md -------------------------------------------------------------------------------- /部署说明.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/部署说明.md -------------------------------------------------------------------------------- /配置检查清单.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Antelope693/MyShards-Diary/HEAD/配置检查清单.md --------------------------------------------------------------------------------