一个使用rust实现的抽奖系统 ,A lottery system implemented using Rust
https://github.com/easy-do/DrawPrize-RS
https://gitee.com/yuzhanfeng/DrawPrize-RS
Rust actix sea-orm nextjs arco design
- clone
- install rust | install nodejs >=18.x |
- start web : cd web | yarn install | yarn run dev | http://localhost:3000
- start api : cd rust-src | cargo build | cargo run main.rs | http://localhost:8080
- clone
- cd web | yarn run install | yarn run build | yarn run export
- cp out/* xxx/static
- cd ../rust-src | cargo build --release
- cp target/release/DrawPrize-RS xxx
- cd xxx
- ./DrawPrize-RS
- http://localhost:8080/static/index.html
- admin / admin