aleph-vm icon indicating copy to clipboard operation
aleph-vm copied to clipboard

Add an example for Node.js

Open BjrInt opened this issue 3 years ago • 5 comments

This example is based off the FastAPI example with some differences:

  • The state example 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"

BjrInt avatar Nov 22 '22 14:11 BjrInt

The goal of the state example is to mute data in a file on disk inside a mutable volume. Why change its logic ?

hoh avatar Nov 22 '22 15:11 hoh

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.

hoh avatar Nov 22 '22 15:11 hoh

How should we build and package this application in the CI ?

hoh avatar Nov 22 '22 15:11 hoh

Not reviewed at all, this was a spam comment by a spam account @NostalgicGareth. He goes and spam a lot of projects like this.

moshemalawach avatar Dec 01 '22 12:12 moshemalawach

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.

MHHukiewitz avatar Feb 09 '23 12:02 MHHukiewitz