@dapp-stack/api
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

@dapp-stack/api

This package starts an HTTP api using express. The exposed port is 55555.

Installation

# Yarn
yarn add @dapp-stack/api

# NPM
npm install @dapp-stack/api

Usage

import * as api from "@dapp-stack/api";

api.start()

Enpoints

  • GET /ping

It will return a 204 http status code if started.

  • GET /tracker

It will read the tracker and returns it.

Package Sidebar

Install

npm i @dapp-stack/api

Weekly Downloads

8

Version

0.5.0

License

Apache-2.0

Unpacked Size

13.2 kB

Total Files

16

Last publish

Collaborators

  • john-solon