bcantello / peoples_voice_project

A central location where users can search government representatives, discover upcoming local elections, and find polling locations
https://www.peoplesvoiceproject.com
0 stars 1 forks source link

Exposed API key #71

Open MikelTafalla opened 1 year ago

MikelTafalla commented 1 year ago

Can we hide the api keys so it doesn't log in the network tab? Screenshot 2023-03-15 at 6 53 52 PM Screenshot 2023-03-15 at 6 54 03 PM

bcantello commented 1 year ago

I am pretty sure that the only way to do this would be to implement a backend that makes the api call. Then from the front end you just see the call to get the info from the backend. The backend actually makes the api call to the Google civic api