full-stack/README.md
2025-06-16 18:12:26 +08:00

52 lines
979 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# TodoList 全栈项目
这是一个使用现代技术栈构建的 TodoList 全栈应用。
## 技术栈
- 前端React + TypeScript
- 后端Node.js + Express + TypeScript
- 数据库MongoDB
- 部署Docker + Docker Compose
## 项目结构
```
full-stack/
├── client/ # 前端代码
├── server/ # 后端代码
├── docker/ # Docker配置文件
└── README.md # 项目说明文档
```
## 开发环境要求
- Node.js >= 16
- Docker & Docker Compose
- MongoDB
## 如何运行
1. 克隆项目
2. 安装依赖
```bash
# 安装前端依赖
cd client
npm install
# 安装后端依赖
cd ../server
npm install
```
3. 启动开发环境
```bash
# 使用 Docker Compose 启动所有服务
docker-compose up
```
## 功能特性
- 创建、读取、更新、删除待办事项
- 标记待办事项为已完成
- 按状态筛选待办事项
- 响应式设计,支持移动端