shell
cargo install wasm-server
shell
wasm-pack new <name>
create a main method in src/lib.rs
```rust
pub fn main() { utils::setpanichook(); ... } ```
=> this method gets called by the wasm-server when the website loads
Just start it in the root directory of your project
shell
wasm-server [absolute path]