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.
- Host: GitHub
- URL: https://github.com/solarnetwork/solarnetwork-example-ts-control-toggler
- Owner: SolarNetwork
- Created: 2024-05-13T18:29:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-05T22:46:43.000Z (about 1 year ago)
- Last Synced: 2025-04-05T23:24:36.654Z (about 1 year ago)
- Topics: example, solarnetwork, typescript, webapp
- Language: TypeScript
- Homepage:
- Size: 97.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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:

# 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.