open-index/open-npm huggingface dataset:
npm package: @grinstead/skymass-experiments
Description: Node API for building and hosting polished, secure, and dynamic web applications.
Author: Joe Grinstead
Latest version: 0.2.101

# SkyMass

Node client for [SkyMass UI-as-a-Service](https://skymass.dev)

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](https://skymass.dev)

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

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

Open your favorite IDE and copy/paste the following:

```javascript
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](https://skymass.dev/app/skymass/docs/)

# License

SkyMass Node Client is [MIT Licensed](./LICENSE.txt).