Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zzy/surfer
The Blog built on pure Rust stack. Backend for graphql services, and frontend for web application.
https://github.com/zzy/surfer
async-graphql blog graphql-services handlebars-rust jwt-auth mongodb rhai rust surf tide yew
Last synced: 3 months ago
JSON representation
The Blog built on pure Rust stack. Backend for graphql services, and frontend for web application.
- Host: GitHub
- URL: https://github.com/zzy/surfer
- Owner: zzy
- License: apache-2.0
- Created: 2021-01-19T12:09:46.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-08T09:56:43.000Z (almost 2 years ago)
- Last Synced: 2024-08-04T01:06:15.418Z (6 months ago)
- Topics: async-graphql, blog, graphql-services, handlebars-rust, jwt-auth, mongodb, rhai, rust, surf, tide, yew
- Language: Rust
- Homepage: https://niqin.com
- Size: 10.2 MB
- Stars: 53
- Watchers: 3
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-yew - surfer - A blog built on yew + graphql, with [live demo site](https://niqin.com). Backend for graphql services, and frontend for web application. (Projects)
README
# surfer
The simple **WIP Blog** built on *pure Rust stack*, with upcoming upgrades.
Backend for graphql services using tide, async-graphql, jsonwebtoken, mongodb and so on.
There are two options for web frontend:
- Frontend-yew for web application using yew, graphql_client, cookie and so on.
- Frontend-handlebars for web application using tide, yew, rhai, surf, graphql_client, handlebars-rust, cookie and so on.See also:
- https://github.com/zzy/tide-async-graphql-mongodb - Clean boilerplate for graphql services, wasm/yew & handlebars frontend.
- https://github.com/piexue/piexue.com - Multi-language CMS based on the Rust web stacks.## Features
Demo site:
- [niqin.com - NiQin Books Platform | 泥芹书馆](https://niqin.com)
- [piexue.com - Project Matchmaking | 项目对接](https://piexue.com)## MongoDB data
MongoDB data(include structure & documents) file is `/data/surfer-dev.sql`.
If you need mongodb cloud count, please send email to me.
## Stacks
- [Rust](https://github.com/rust-lang/rust) - [Rust By Example](https://rust-by-example.niqin.com) and [Cargo Book](https://cargo.niqin.com)
- [Tide](https://crates.io/crates/tide) - [Tide Book](https://tide-book.niqin.com)
- [rhai](https://crates.io/crates/rhai) - [Embedded Scripting for Rust](https://rhai-script.niqin.com)
- [async-graphql](https://crates.io/crates/async-graphql) - [async-graphql docs](https://async-graphql.niqin.com)
- [mongodb & mongo-rust-driver](https://crates.io/crates/mongodb)
- [Surf](https://crates.io/crates/surf)
- [graphql_client](https://crates.io/crates/graphql_client)
- [yew](https://yew.niqin.com)
- [handlebars-rust](https://crates.io/crates/handlebars)
- [jsonwebtoken](https://crates.io/crates/jsonwebtoken)
- [cookie-rs](https://crates.io/crates/cookie)## How to Build & Run?
Please read:
- [**Backend: graphql servies server**](./backend/README.md)
- [**Frontend-yew: web application server**](./frontend-yew/README.md)
- [**Frontend-handlebars: web application server**](./frontend-handlebars/README.md)## Contributing
You are welcome in contributing to the surfer project.