- 授权协议: Apache
- 开发语言: JavaScript Rust
- 操作系统: 跨平台
- 软件首页: https://gitee.com/OUISRC_group/Rust-webapp-starter
- 软件文档: https://gitee.com/OUISRC_group/Rust-webapp-starter
软件介绍
使用 Rust 的 Actix-web 框架和 Vuejs 开发的 SPA(single page webapp)。
项目特点:
-
Rust 异步、稳定 的 Actix-web 框架
-
diesel ORM 框架, postgresql 数据库,r2d2 线程池
-
SPA +CORS +JWT 权限认证
-
Vuejs 框架 Parcel-bundler 打包
How To
first create a name 'webapp' postgresql database for this project.
with docker
docker-compose up -d
when development
$ git clone https://github.com/OUISRC/Rust-webapp-starter.git $ cd Rust-webapp-starter $ cargo install diesel_cli --no-default-features --features postgres $ diesel setup $ cargo run // another shell nodejs(v8.9.4 on my machine) $ cd Rust-webapp-starter/webapp $ npm install $ npm run dev
then open browser 'http://localhost:1234/'
