1.0.0 • Published 2 years ago

@zaiusinc/app-dev-runtime v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 years ago

App Dev Runtime

Dev Runtime for Zaius Apps

Usage

Add this module as a dev dependency and run the start-app script from the

yarn start-app

Endpoints

Install

You can manage the install lifecycle using the install lifecycle endpoint.

URL: http://localhost:3000/lifecycle/install

GET - returns the installation status of the app POST - installs the app, calling the app's onInstall lifecycle hook DELETE - uninstalls the app, calling app's onUninstall lifecycle hook

Functions

Getting a list of available function endpoints

If the app is installed, a list of available endpoints can be retrieved.

GET - http://localhost:3000/functions

These endpoints can be called using a tool like curl to exercise the functions.