NiQin
updated at
2022-10-06 14:34:50+08:00
Hits:
62022
Keys/tags:
rust
rust-web
rust-web-guide
rust-web-零散
##### The Hitchhiker's Guide to Rust Web
目前,仅是个人 Rust Web 开发中的一些记录。
涵盖:Rust Web 生态中的 Tide、actix-web、Yew、async-graphql、surf、handlebars-rust、rhai、jsonwebtoken,以及 mongodb 等。
完整的内容,还在进一步规划和整理之中。
学以聚之,问以辩之。终日乾乾,与时偕行。
NiQin
updated at
2022-07-28 21:23:02+08:00
Hits:
63786
Keys/tags:
rust
rust-web
tide
web-framework
Tide is a minimal and pragmatic Rust web application framework built for
rapid development. It comes with a robust set of features that make building
async web applications and APIs easier and more fun.
This Tide-book is still a work in progress, and will be expanded on over time.
All examples in the text are available as [working Tide-projects](https://github.com/http-rs/tide-book/tree/main/examples)
Example applications:
- [tide-async-graphql-mongodb](https://github.com/zzy/tide-async-graphql-mongodb)
- Clean boilerplate for graphql services using tide, rhai, async-graphql, surf, graphql-client, handlebars-rust, jsonwebtoken, and mongodb.
- Graphql Services: User register, Salt and hash a password with PBKDF2 , Sign in, JSON web token authentication, Change password, Profile Update, User's query & mutation, and Project's query & mutation.
- Web Application: Client request, bring & parse GraphQL data, Render data to template engine(handlebars-rust), Define custom helper with Rhai scripting language.
- [surfer](https://github.com/zzy/surfer)
- The Blog built on Tide stack, generated from [tide-async-graphql-mongodb](https://github.com/zzy/tide-async-graphql-mongodb).
- Backend for graphql services using tide, async-graphql, jsonwebtoken, mongodb and so on.
- Frontend for web application using tide, rhai, surf, graphql_client, handlebars-rust, cookie and so on.