- Notifications
You must be signed in to change notification settings - Fork1
Procrat/eva-web
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Web interface forEva
Let algorithms decide your life.
This project hasn't reached an alpha state yet. At the moment, it is just a tinyweb interface around a simple scheduling algorithm. Some people already findthis useful however, so maybe you do too!
You can freely use the version available onprocrat.github.io/eva-web.
If you enjoy it so far and want to say thanks, you canbuy me a coffee ☕.
This project is made up of two parts:
- a small wrapper in Rust around theeva cratethat interfaces with non-Rust languages using JSON messages. The root of thispart is in
backend
. - aVue.js front-end that interacts with aWebAssembly build of the Rust wrapper.
If you haven't built a Rust project before, installrustup, and runrustup install nightly
to install thelatest nightly version of Rust.
If you haven't run a JavaScript project before, installnpm.
Installwasm-bindgen-cli
of thesame version aswasm-bindgen
in theCargo.lock
file. This program is used togenerate JavaScript wrapper functions for our wasm build:
cargo install --version<same-version-as-wasm-bindgen> wasm-bindgen-cli
# Install the Rust and JavaScript dependencies oncemake dependencies# Make the wasm build with JavaScript wrapper and start a development server# with hot reloading at localhost:8080make