中文
R
NiQin shared an aphorism: 失败只有一个原因,把做产品看作实现自己梦想的方式。但产品本质是帮他人解决问题,别人需要什么你就要做什么,而不是我只做我喜欢的。你的产品做到了你心中的最好,被你视若珍宝,但对别人没有任何特殊之处。 -- 佚名
All - Latest Recommended Latest Sticky Create new Book/Doc My Books/Docs
All rights of books and documents belong to the authors, editors, and translators, the goal of this site is to facilitate reading. If there is anything improper, please contact ask@irust.net.

Web The Hitchhiker's Guide to Rust Web No.633e770a1f92fec312176c4f Sticky Recommended

NiQin updated at 2022-10-06 14:34:50+08:00

Hits: 62133

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 等。 完整的内容,还在进一步规划和整理之中。 学以聚之,问以辩之。终日乾乾,与时偕行。

Web Tide book No.62e28db6bfb6201b26c9d42a Sticky

NiQin updated at 2022-07-28 21:23:02+08:00

Hits: 63921

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.