What is a good way to keep a small amount of state between Heroku deployments?

I have a small Node.js application running on Heroku that currently does not need or has persistent state storage.

However, I want to add a function that requires that several very small parts (less than 1 Kbyte of data) remain between deployments.

What is the best way to add this state to my Heroku application while still being able to easily deploy this application using the "Deploy to Heroku" button?

So far, the only potential solution I see will be with the addition of the free PostgreSQL addon, which seems like a massive overflow.

+4
source share
1 answer

Add-ons such as Postgres and Redis can still be used with the Heroku Deploy button. Take a look at this example of how the initial tables work (via rake and more): https://blog.heroku.com/introducing_the_app_json_application_manifest

+3
source

Source: https://habr.com/ru/post/1670891/


All Articles