Skip to content
This repository has been archived by the owner on Dec 19, 2020. It is now read-only.

Latest commit

 

History

History
18 lines (14 loc) · 546 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 546 Bytes

Chat Demo

Build and start demo

  • Install Rust toolchain
  • Install Node.js
  • Install wasm-pack
  • Start chat server in directory chat-server
    • cargo run
  • Start web server in directory chat-frontend
    • npm start
  • Open http://localhost:8080/ in a browser

Build WebAssembly plugin

The server loads a plugin as WebAssembly. The binary is already stored in chat-server. To build the plugin, switch to the directory plugin and start the build process with the command cargo build.