A compilation of small apps built to understand various concepts I come across with.
- Axios Post Demo
- chart-js-demo
- Horizontal scrollable line chart
- Realtime CPU Usage Demo
- Realtime Graph Socket Demo
- WebSocket Demo
- AmchartJS Radar Gauge chart :
- send asynchronous HTTP requests to REST endpoints
- perform CRUD operations
- communicate with the backend
A static app to learn setup a simple line chart with the help of ChartJS library.
A linechart which limits the number of labels displayed on the x axis at a time and uses the scrolling effect to navigate to the rest of the data.
Tracks the CPU usage in realtime using the OS Utils and the ChartJS libraries.
Plots the data generated by Math.random()
Server Console
Data sent from the client
Client Console
- When the data exchange is 2-way (not just from server to client)
- Connection is initiated only when data is required and ended immediately after the data is fetched.
- Keeps the number of active connections to database at minimum.