mitchleung / cpu-monitor-express-webapp

Express server for my VueJS speed-o-meter. Use System Information NPM module to provide system metrics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CPU Monitor Express Server

This is a server patching the CPU temperature and usage to JSON API calling from webapp counterpart.

Generate your local self-signed certificate via

openssl req -nodes -new -x509 -keyout server.key -out server.cert

If you are not sure how to do so, please read this article

Project setup

npm install

Customize configuration

Read more on Configuration Reference on System Information.

Read more on Expressjs Reference.

Run with HTTP

npm run start

Run with HTTPS

npm run startSecure

Nothing to build

With HTTPS running already, you can go to https://cpu-monitor-vue.vercel.app Go to the Settings page and update the protocol as https and local host IP of your machine, e.g. 192.168.0.2

License

MIT License © Mitch Leung

About

Express server for my VueJS speed-o-meter. Use System Information NPM module to provide system metrics

License:MIT License


Languages

Language:JavaScript 100.0%