Skip to content

Create NodeJS example #6

@mbalex99

Description

@mbalex99

After the NodeJS implementation is complete,

Create an example project in ./examples called node with a TypeScript entry point. This can be a lot simpler than the react apps

import { Store } from "../.."

async main = () => { 
  const store = new Store();
  await store.put("foo", "bar");
  const value = await store.get("foo");
  console.log(`Stored value is ${value});
}
main()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions