37 lines
943 B
Markdown
37 lines
943 B
Markdown
# Questions - A yew frontend WASM application
|
|
This is a frontend web application intended to provide an interface to the APIs provided by my [questions API rust server](https://gitlab.cecs.pdx.edu/djw2/rust-web). This application is a fork of the course [knock-knock-yew](https://github.com/pdx-cs-rust-web/knock-knock-yew) frontend, primarily 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
|
|
|
|
## Setup
|
|
First, the [questions API rust server](https://gitlab.cecs.pdx.edu/djw2/rust-web) should be running on a known address and port
|
|
```
|
|
rustup update
|
|
rustup target add wasm32-unknown-unknown
|
|
cargo install trunk --locked
|
|
cargo build
|
|
```
|
|
|
|
## Run
|
|
```
|
|
trunk serve
|
|
```
|
|
|
|
### Dependency overview
|
|
|
|
#### std
|
|
#### [Yew](https://crates.io/crates/yew)
|
|
|
|
### Source overview
|
|
|
|
#### `src/main.rs`
|
|
|
|
### Looking ahead
|