weli c30b5b927e fix(htyts): add trailing slash route /api/v1/ts/ to match nginx proxy_pass
nginx proxy_pass with location /api/v2/ts/ strips the prefix and appends
the remaining path to /api/v1/ts/, resulting in /api/v1/ts/ for root requests.
axum routes are exact-match by default, so add the trailing slash variant.
2026-04-26 20:47:00 +08:00
2026-04-23 21:50:46 +08:00

慧课 后端

CI

🚧 本仓库不要提交大文件

🚧 本仓库请使用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


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=#
S
Description
huike backend
Readme 384 KiB
Languages
Rust 96.6%
Shell 2.6%
PLpgSQL 0.7%
Dockerfile 0.1%