# reactpress
**Repository Path**: ice_moon_cake/reactpress
## Basic Information
- **Project Name**: reactpress
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2024-11-15
- **Last Updated**: 2025-03-06
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[](https://gaoredu.com)
## 项目简介
`ReactPress` 是使用React开发的开源发布平台,用户可以在支持React和MySQL数据库的服务器上架设属于自己的博客、网站。也可以把 `ReactPress` 当作一个内容管理系统(CMS)来使用。
[](https://github.com/fecommunity/reactpress/blob/master/LICENSE)[](https://github.com/fecommunity/reactpress/blob/master/package.json) [](https://github.com/fecommunity/reactpress/blob/master/client/tsconfig.json) [](https://github.com/fecommunity/reactpress/pulls)
[报告问题](https://github.com/fecommunity/reactpress/issues) · [参与共建](https://github.com/fecommunity/reactpress/pulls) · [English](./README.md) · 中文
- 内容管理
[](https://gaoredu.com)
- 文章阅读
[](https://gaoredu.com)
- 移动端
## 🔥 在线示例
[ReacPress Demo](https://blog.gaoredu.com/)
## ✨ 特性
- 📦 技术栈:基于 `React` + `NextJS` + `MySQL 5.7` + `NestJS` 构建
- 🌈 组件化:基于 `antd 5.20` 最新版的交互语言和视觉风格
- 🌍 国际化:支持中英文切换,国际化配置管理能力
- 🌞 黑白主题:支持亮色和暗黑模式主题自由切换
- 🖌️ 创作管理:内置 `MarkDown` 编辑器,支持文章写文章、分类目录管理,标签管理
- 📃 页面管理:支持自定义新页面
- 💬 评论管理:支持内容评论管理
- 📷️ 媒体管理:支持文件本地上传和 `OSS` 文件上传
- 📱 移动端:完美适配移动端H5页面
- ...
## ⌨️ 本地开发
### 环境准备
```bash
$ git clone --depth=1 https://github.com/fecommnity/reactpress.git
$ cd reactpress
$ npm i -g pnpm
$ pnpm i
```
### 配置文件
项目启动后会加载根目录下的 `.env` 配置文件,请确保MySQL数据库服务和下面的配置保持一致,并提前创建好 `reactpress` 数据库
```js
DB_HOST=127.0.0.1 // 数据库地址
DB_PORT=3306 // 端口
DB_USER=reactpress // 用户名
DB_PASSWD=reactpress // 密码
DB_DATABASE=reactpress // 数据库
```
环境准备好后,执行启动命令:
```bash
$ pnpm run dev
```
打开浏览器访问 http://127.0.0.1:3001
## 🔗 链接
- [首页](https://github.com/fecommunity/reactpress)
- [高热度网](https://gaoredu.com)
- [报告问题](https://github.com/fecommunity/reactpress/issues)
- [参与共建](https://github.com/fecommunity/reactpress/pulls)
- [next.js 源码](https://github.com/vercel/next.js)
- [nest.js 源码](https://github.com/nestjs/nest)
> 强烈推荐阅读 [《提问的智慧》](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way)、[《如何向开源社区提问题》](https://github.com/seajs/seajs/issues/545) 和 [《如何有效地报告 Bug》](http://www.chiark.greenend.org.uk/%7Esgtatham/bugs-cn.html)、[《如何向开源项目提交无法解答的问题》](https://zhuanlan.zhihu.com/p/25795393),更好的问题更容易获得帮助。
## 👥 社区互助
如果您在使用的过程中碰到问题,可以通过下面几个途径寻求帮助,同时我们也鼓励资深用户通过下面的途径给新人提供帮助。
通过 WeChat 联系,可通过搜素微信号 `red_tea_v2` 或扫码加入 ,并备注来源。
通过 GitHub Discussions 提问时,建议使用 `Q&A` 标签。
通过 Stack Overflow 或者 Segment Fault 提问时,建议加上 `reactpress` 标签。
1. [GitHub Discussions](https://github.com/ant-design/ant-design/discussions)
2. [Stack Overflow](http://stackoverflow.com/questions/tagged/antd)(英文)
3. [Segment Fault](https://segmentfault.com/t/antd)(中文)
Email: admin@gaoredu.com
## Star History
[](https://star-history.com/#fecommunity/reactpress&Date)