tide-async-graphql-mongodb
Clean boilerplate for graphql services, wasm/yew frontend, handlebars frontend.
Using tide, rhai, async-graphql, surf, graphql-client, yew, handlebars, jsonwebtoken, and mongodb.
See also:
- https://github.com/zzy/surfer - Simple WIP blog & upcoming upgrades.
- https://github.com/piexue/piexue.com - Multi-language CMS based on the Rust web stacks.
Features
-
Demo site:
-
Graphql Services
- User register
- Salt and hash a password with PBKDF2 - Shi Yong PBKDF2 Dui Mi Ma Jin Xing Jia Mi (salt)He San Lie (hash)Yun Suan
- Sign in
- JSON web token authentication - JWT Jian Quan Zheng He
- Change password
- Profile Update
- User: query & mutation
- Project: query & mutation
-
Web Application
- Client request, bring & parse GraphQL data
- Render data to template engine
- Define custom helper with Rhai scripting language
Stacks
- Rust - Zhong Wen Zi Liao Ji Cui
- Tide - Zhong Wen Wen Dang
- rhai - Embedded Scripting for Rust
- async-graphql - Zhong Wen Wen Dang
- mongodb & mongo-rust-driver
- Surf
- yew
- graphql_client
- handlebars-rust
- jsonwebtoken
- cookie-rs
MongoDB data
MongoDB data(include structure & documents) file is /data/budshome.sql.
If you need mongodb cloud count, email to me or wechat(Wei Xin ): yupen-com, please.
How to run?
Please read:
- Backend: graphql servies server
- Frontend-yew: web application server
- Frontend-handlebars: web application server
Contributing
You are welcome in contributing to this project.