61 lines
1.1 KiB
Markdown
61 lines
1.1 KiB
Markdown
# Rust Axum Question and Answer Server - Frontend
|
|
|
|
This yew based rust frontend is derived from [knock-knock-yew](https://github.com/pdx-cs-rust-web/knock-knock-yew/tree/main) authored by Bart Massey
|
|
|
|
## Contents
|
|
|
|
I'll do my best to keep these contents up-to-date as changes are made to the source code
|
|
|
|
* Setup
|
|
* Dependency overview
|
|
* Source overview
|
|
* Looking ahead
|
|
|
|
|
|
#### Build and Run
|
|
```
|
|
cd frontend
|
|
cargo build
|
|
trunk serve
|
|
```
|
|
|
|
Then, access the webserver shown in standard output in a browser of your choice
|
|
|
|
### Dependency overview
|
|
|
|
#### std
|
|
TODO
|
|
#### [Yew](https://crates.io/crates/yew)
|
|
TODO
|
|
#### [gloo](https://crates.io/crates/gloo)
|
|
TODO
|
|
#### [Serde/serde_json](https://crates.io/crates/serde)
|
|
A useful package for serializing and deserializing data.
|
|
#### [wasm_bindgen_futures](https://crates.io/crates/wasm_bindgen_futures)
|
|
TODO
|
|
|
|
|
|
### Source overview
|
|
|
|
#### [`src/main.rs`](/frontend/src/main.rs)
|
|
TODO
|
|
|
|
#### [`src/finder.rs`](/frontend/src/finder.rs)
|
|
TODO
|
|
|
|
#### [`src/question.rs`](/frontend/src/question.rs)
|
|
TODO
|
|
|
|
### Looking ahead
|
|
TODO
|
|
|
|
#### Code cleanup
|
|
TODO
|
|
|
|
#### Higher priority
|
|
TODO
|
|
|
|
#### Lesser priority
|
|
TODO
|
|
|