chore add core rust project files and diesel migrations

Track required workspace crates, scripts, and historical diesel migrations so the repository contains the complete runnable backend baseline.

Made-with: Cursor
This commit is contained in:
2026-04-23 17:20:01 +08:00
parent c843fecbce
commit 44c320d8fa
392 changed files with 11786 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
☕️
[![CI](https://github.com/alchemy-studio/huiwing/actions/workflows/ci.yml/badge.svg)](https://github.com/alchemy-studio/huiwing/actions)
🚧 本仓库不要提交大文件
🚧 本仓库请使用`Pull Request`的形式交代码
🚧 `.env`文件只对本地测试有效,部署时使用`docker-compose.yml`整体启动.
## 目录
### htyws
web service,容器 `ws`,端口`3000`,对外不暴露
### user-center
用户中心,容器 `uc`,端口`3001`,对外不暴露
### htymusic
音乐教室小程序,容器名`mr`,端口`8010:80`
### htycommons
run test:
`$ print_debug=true cargo test -- --test-threads=1 --nocapture`
---
```bash
postgres=# create user htyuc;
CREATE ROLE
postgres=# create user htyws;
CREATE ROLE
postgres=# create database htyuc_local owner htyuc encoding utf8;
CREATE DATABASE
postgres=# create database htyws_local owner htyws encoding utf8;
CREATE DATABASE
postgres=#
```