Migrate cloud function to local data JSON due to cost
sean1093 opened this issue · 0 comments
sean1093 commented
Migrate cloud function to local data JSON
Problem
Google firebase cloud function will not support the Node.js v8 runtime environment soon. If we migrate to the Node.js v10, need to change our project to "Pay as you go"(Blaze plan).
For the cost concern, we are not planning to maintain a free service with cost.
Workaround
Since we are not too much data in our database, we can put database JSON in our code base. Use Github as the static file server.