Hey everyone,
I am trying to build an idea that requires me to build a js library that makes changes (visual) on the users' website but also can send data back to the server.
So what I thought about doing is using firebase in the JS library to send the data back. But I have this almost irrational fear of having all my Firebase info in the library for everyone to see, even though I have researched and found that it is fine to have the API key public. The other way is to host my own server that sends the data to firebase but then I am also scared of having someone spam my server with data by using the URL in the JS library.
Does anyone have any tips or ideas on how I could go about solving this?