tide-async-graphql-mongodb icon indicating copy to clipboard operation
tide-async-graphql-mongodb copied to clipboard

Clean boilerplate for graphql services, wasm/yew frontend, handlebars frontend. Using tide, rhai, async-graphql, surf, graphql-client, yew, handlebars, jsonwebtoken, and mongodb.

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

    • [x] User register
    • [x] Salt and hash a password with PBKDF2 - 使用 PBKDF2 对密码进行加密(salt)和散列(hash)运算
    • [x] Sign in
    • [x] JSON web token authentication - JWT 鉴权整合
    • [x] Change password
    • [x] Profile Update
    • [x] User: query & mutation
    • [x] Project: query & mutation
  • Web Application

    • [x] Client request, bring & parse GraphQL data
    • [x] Render data to template engine
    • [x] Define custom helper with Rhai scripting language

Stacks

MongoDB data

MongoDB data(include structure & documents) file is /data/budshome.sql.

If you need mongodb cloud count, email to me or wechat(微信): 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.