@skymass/skymass
TypeScript icon, indicating that this package has built-in type declarations

0.3.47 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @skymass/skymass

Homepage

skymass.dev

Weekly Downloads

49

Version

0.3.47

License

MIT

Unpacked Size

599 kB

Total Files

180

Last publish

Collaborators

  • ps2000