Skip to content

The goal of this project is to create a server and a web client that communicate through data streaming, using native nodejs libraries. For this example, I will consume in real time the data generated by the system and plot it on a graph in the browser.

License

Notifications You must be signed in to change notification settings

rafatrinity/system-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time System Monitoring 📊

This project is a real-time application that monitors and displays system information. It is divided into two parts: the server and the client.

The goal of this MVP project is to demonstrate what native Node.js can do with its streaming library. This project generates performance charts for the system's processor and RAM.

CPU usage

Prerequisites 📋

  • Node.js v18.0.0 or higher

Server 💽

The server uses the OS library from Node.js to collect system data. It creates a stream with this data and exposes it through an endpoint.

To run the server, just run the command npm run dev.

Client 🖥️

The client consumes the system data stream provided by the server and plots charts on the screen using the Chart.js library.

To run the client, follow the steps below:

  1. Install dependencies with the command npm i.
  2. Start the client with the command npm start.

How to use 🤔

  1. Start the server.
  2. Open the client in a web browser.
  3. See system information being updated in real time!

Contributions 🫱🏻‍🫲🏼

Contributions are welcome! To contribute to the project, add an issue and open a card.

License ⚖️

This project is licensed under the GPL license.

About

The goal of this project is to create a server and a web client that communicate through data streaming, using native nodejs libraries. For this example, I will consume in real time the data generated by the system and plot it on a graph in the browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published