Ecosyste.ms: Awesome
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: about 21 hours 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 (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-05T04:49:37.000Z (3 months ago)
- Last Synced: 2025-01-16T21:08:55.322Z (8 days ago)
- Topics: egg, egg-admin, egg-project, eggplugin, mysql, mysql2, passport, passport-github, sequelize
- Language: JavaScript
- Homepage: https://work.xiejiahe.com
- Size: 2.11 MB
- Stars: 54
- Watchers: 3
- Forks: 17
- 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
Simple MySQL install and config
Run file `sql.sql`
```sql
# Install mysql
sudo apt install mysql-server
systemctl status mysql.service# Adjusting User Authentication
sudo mysql
mysql > SELECT user,authentication_string,plugin,host FROM mysql.user;
mysql > ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';# Create a database for tomato work
mysql > CREATE DATABASE tomato_work# Later you can login to mysql via
mysql -u root -p
```## 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
```---
## License
[MIT](https://opensource.org/licenses/MIT)