An open API service indexing awesome lists of open source software.

https://github.com/solarnetwork/solarnetwork-example-ts-control-toggler

Example web app using the solarnetwork-control-toggler package to manage and monitor a SolarNode control, using TypeScript.
https://github.com/solarnetwork/solarnetwork-example-ts-control-toggler

example solarnetwork typescript webapp

Last synced: about 1 year ago
JSON representation

Example web app using the solarnetwork-control-toggler package to manage and monitor a SolarNode control, using TypeScript.

Awesome Lists containing this project

README

          

# SolarNetwork Example: TypeScript Control Toggler

This project is a little web app to show the basics of using the SolarNetwork API in a TypeScript
project to download large sets of datum stream data using the `ControlToggler` helper class.

You can see the example in action here:

Screenshot of the TypeScript Control Toggler app

# Building from source

To build yourself, clone or download this repository. You need to have Node 18+ installed. Then:

```sh
# initialize dependencies
npm ci

# run development live server on http://localhost:8080
npm run dev

# build for production
npm run build
```

Running the `build` script will generate the application into the `dist/` directory.