Python - Flask Web App, which reads the current RAM and CPU usage and a React frontend which shows the statistics in the browser
The app is setup in a pretty standard way, just like most Python-React Apps.
In the api directory, do the following. (python 3)
- pip install -r requirements.txt
- python app.py
- Visit http://127.0.0.1:5000/stat
In the sys-stats directory, do the following. (node 16)
- npm install
- npm start
- Visit http://127.0.0.1:3000
To build the project using docker compose (docker-compose) run the below command and go to localhost:5000
- docker compose up --build