Simple app, that uses my own API, served on heroku. In this app you manage servers statuses. You can:
- turn ON server
- turn OFF server
- REBOOT server
Working example available here.
- clone or download repo
- npm i
- npm start
When server is offline you have only one option to turn it on. When server is online you can make it offline or reboot it. The server default behavior is to send response with delay. The delay when rebooting is longer, so there is interval function implemented to fetch new data once per 1000ms.
You can filter servers by server name. Also you can get all offline, online, rebooting servers by typing corresponding status name.
- React
- Context API
- useReducer Hook
- SASS