cool-updown-nxt
Handy client/server solution to manage start and shutdown of your home PCs.
It's basically the same goal as its elder brother cool-updown, but with more convenient UI and flexible architecture.
Architecture
It's a WIP. Every part below has to be built as a separate project.
Api
NodeJS server hosting services as HTTP endpoints, as well as processors (diagnostics, stats) and static resource server.
Web
React front-end application relying upon the above API.
Using solution
Following scripts have been set-up to make it a bit easier:
Installing
npm install
will run both api and web install tasks as well as build related artifacts.
Configuring
npm run configure
will (re)initialize backend configuration and allow you to edit it using vi.
Running
npm start
will run the api server.