I have developed a basic web application that will display data in a table and be updated on a weekly basis.
To perform this update, I utilize Python code in the backend to scrape and modify data before storing it in a SQLite database.
After some research, I discovered that in order to deliver this data to my web app, I need to create an API using Flask. This API will receive the data and send it to the JavaScript in my web app as JSON for populating the table. However, considering securing the API with a username and password may not be necessary since the frontend is in JS and the credentials could potentially be accessible to users.
Should I make my API accessible to everyone, or is there a better way to use SQLite data as a backend for my web application? I am open to keeping the API restricted to GET requests only.