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.
questions-yew/README.md
2024-06-06 10:29:25 -07:00

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