This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
rust-web/frontend/README.md
2024-06-11 23:04:06 -07:00

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