aleph-vm
aleph-vm copied to clipboard
Add an example for Node.js
This example is based off the FastAPI example with some differences:
- The
stateexample is using an ephemeral keypair (used to send message) instead of a counter - The "post a message on Aleph" and "retrieve http post data" are merged into a single example
- There is no "cache"
The goal of the state example is to mute data in a file on disk inside a mutable volume. Why change its logic ?
Posting a message on Aleph and handling HTTP Post requests are two different things, we should keep them separate in order to test and diagnose better.
How should we build and package this application in the CI ?
Not reviewed at all, this was a spam comment by a spam account @NostalgicGareth. He goes and spam a lot of projects like this.
Can we get confirmation that this still works as intended?
We talked about how we should support more languages/frameworks in the VMs and also to improve examples/docs for deploying these. Merging this PR should help with that.