0.2.101 ā€¢ Published 10 months ago

@grinstead/skymass-experiments v0.2.101

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

SkyMass

Node client for SkyMass UI-as-a-Service

This is alpha software.

Build polished, secure and dynamic web applications in minutes ā€” without leaving your IDE or touching frontend code.

SkyMass replaces the frontend stack with a cloud UI Server to let you handle data access, application logic and UI in a single backend.

SkyMass UI-as-a-Service gives you...

  • An extensive, world-class UI component library
  • Built-in workflows for Auth, Access Control, data onboarding, ...
  • Security ā€” directly access private data and APIs without exposure to the world
  • Convenience ā€” use your favorite IDE and any public or private package

Quick Start

šŸ‘‰ Get your API key

Create a directory, initialize a node project and install @skymass/skymass using npm or yarn...

mkdir skymass & cd skymass
npm init -y
npm install @skymass/skymass

Open your favorite IDE and copy/paste the following:

import { SkyMass } from "@skymass/skymass";

const sm = new SkyMass({ key: process.env["SKYMASS_KEY"] });

sm.page("/hello_world", async (ui) => {
  const name = ui.string("name", {
    label: "Please type your name",
  });

  ui.show(`Hello ${name.val || "World"}!`);
});

Save as hello.mjs and start it using:

SKYMASS_KEY=<your_skymass_key> npx nodemon hello.mjs

Open the output URL to view your first SkyMass app!

View more docs

License

SkyMass Node Client is MIT Licensed.

0.2.101

10 months ago