Creating your Rust Functions in Node.js Using SSVM and docker
Nilesh Arnaiya
Posted on July 31, 2020
Head over to https://github.com/second-state/ssvm-nodejs-starter to get started.
Use Docker:
$ docker pull secondstate/ssvm-nodejs-starter:v1
$ docker run -p 3000:3000 --rm -it -v $(pwd):/app secondstate/ssvm-nodejs-starter:v1
(docker) # cd /app
(docker) # ssvmup build
(docker) # node node/app.js
Copy the functions example - https://github.com/second-state/wasm-learning/tree/master/nodejs/functions
Replace the files and run your node app.
If you want to try out Machine learning with Rust - https://github.com/second-state/wasm-learning/tree/master/nodejs/ml
💖 💪 🙅 🚩
Nilesh Arnaiya
Posted on July 31, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.