基于 Rust 和 Vuejs 开发的 SPA Rust-webapp-starter

码农软件 · 软件分类 · Web框架 · 2019-03-24 15:59:03

软件介绍

使用 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/'

本文地址:https://codercto.com/soft/d/2059.html

C算法(第二卷:图算法)(第3版)

C算法(第二卷:图算法)(第3版)

塞德威克(Sedgewick Robert) / 周良忠 / 第1版 (2004年1月1日) / 2004-4 / 38.0

《C算法(第2卷)(图算法)(第3版)(中文版)》所讨论的图算法,都是实际中解决图问题的最重要的已知方法。《C算法(第2卷)(图算法)(第3版)(中文版)》的主要宗旨是让越来越多需要了解这些算法的人的能够掌握这些方法及基本原理。书中根据基本原理从基本住处开始循序渐进地讲解,然后再介绍一些经典方法,最后介绍仍在进行研究和发展的现代技术。精心挑选的实例、详尽的图示以及完整的实现代码与正文中的算法和应用......一起来看看 《C算法(第二卷:图算法)(第3版)》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试