Finaly Fixed the HBD Balance in Savings on the Web | CORS!!!

in Hive Statistics6 months ago

For the few users of the web :)

When I first added the data for the HBD balance in savings, it was working all fine.
Then with zero interference from my side it stopped working and started showing CORS issues. Its a security thing.

As a hoby coder so to speak, it was quite the issue for me.

While its only one number it requiers a whole setup. A node server to concet with SQL. Then using something called a reverse proxy to conect from the web to then backend, the node server. And this is where I got stuck and couldnt resolve it even with the help of chatGPT :). And obviously having the quiet time to do it.

Finaly I give it a time and in colaboration with chatGPT and some reasoning from me (yea human), I fixed it. Slowly but surley. Next steps that I want to do is create an independent databes, curently using HiveSQL, and save and retreat data there. Any suggestions for improvments and easy work are welcomed :)

image.png

https://www.hbdstats.com/

Sort:  

Nice! Thanx

@tipu curate