A set of docker containers with db, backend and frontend. Used to gather, store and retrieve data from f2pool for bitcoin miners and generate SLA reports to help ensure hosting partner contract compliance.
I have added a very basic (work in progress) admin page. Right now, all it does is allow dynamic adjustment of the debugLevel for backend logging without needing to rebuild the backend server. More uses and controls may be added in the future. Also, with the addition of greater control over the system, the admin page may eventually need to be secured by user authentication and assigned roles.
To support the adjustment of the debugLevel, I've also updated the backend API with a route that calls a new function to set the debugLevel. The route is currently secured with a hardcoded IP whitelist that contains local IP addresses, but the IP list could eventually be moved into an environment variable or some other storage that is more easily configurable without needing to rebuild the application for changes to take effect.
I have added a very basic (work in progress) admin page. Right now, all it does is allow dynamic adjustment of the debugLevel for backend logging without needing to rebuild the backend server. More uses and controls may be added in the future. Also, with the addition of greater control over the system, the admin page may eventually need to be secured by user authentication and assigned roles.
To support the adjustment of the debugLevel, I've also updated the backend API with a route that calls a new function to set the debugLevel. The route is currently secured with a hardcoded IP whitelist that contains local IP addresses, but the IP list could eventually be moved into an environment variable or some other storage that is more easily configurable without needing to rebuild the application for changes to take effect.