https://github.com/xjh22222228/tomato-work-server
🍅 Tomato Work Server for Egg.js
https://github.com/xjh22222228/tomato-work-server
egg egg-admin egg-project eggplugin mysql mysql2 passport passport-github sequelize
Last synced: 10 days ago
JSON representation
🍅 Tomato Work Server for Egg.js
- Host: GitHub
- URL: https://github.com/xjh22222228/tomato-work-server
- Owner: xjh22222228
- License: mit
- Created: 2019-07-20T08:33:12.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-02-20T07:57:00.000Z (2 months ago)
- Last Synced: 2025-03-17T14:08:17.551Z (about 1 month ago)
- Topics: egg, egg-admin, egg-project, eggplugin, mysql, mysql2, passport, passport-github, sequelize
- Language: JavaScript
- Homepage: https://work.xiejiahe.com
- Size: 1.8 MB
- Stars: 54
- Watchers: 2
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Tomato Work 个人事务管理系统
## Built with
- [Node.js >= 18](https://nodejs.org/en/)
- [Egg.js](https://eggjs.org/zh-cn/intro/)
- [MySQL](https://www.mysql.com/)
- [Sequelize](https://github.com/sequelize/sequelize)
- [js-ant](https://github.com/xjh22222228/js-ant)## MySQL Setup
- 创建数据库 `tomato_work`
- 运行根目录 `sql.sql`## Build Setup
启动项目之前请配置数据库信息 config/config.default.js
```bash
# Download
git clone --depth=1 https://github.com/xjh22222228/tomato-work-server.git# Install
pnpm i# Port: 7003
npm run dev# Build start
npm run start
```## 部署
复制 `config/config.default.js` 到 `config/config.product.js`, 生产环境是运行 `config/config.product.js` 配置文件,默认是没有的。
启动
```bash
npm run start:prod
```---
## License
[MIT](https://opensource.org/licenses/MIT)