Closed nugentmichael1 closed 1 year ago
Their backend model is "serverless." Firebase's "functions" directory will replace the original "backend" directory.
The Blaze plan exposes me to possible fees if someone ever abuses my site (i.e. reload it a million times with a script). The Spark plan has no such risk, but would require me to forfeit the "serverless" backend capabilities of Firebase Functions. This is fine since there is an API to directly access the no-sql database, Firestore. It's just that I will break the rules of separation of frontend and backend responsibilities.
Decided to use the paid plan, Blaze, even though it exposes me to the risk of sabotage. Implemented a sub-pub function to be notified of any bills. It will send a message to a Slack channel once about every 45 minutes in the event of extreme traffic.
Problem
Heroku will soon remove it's Free tier, and charge 7$ per dyno, which this project needs since it's a react app ("npm start"). A new host must be sought.
Alternative Free Hosts