An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        





Tomato Work 个人事务管理系统



Server

Stars


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