.sb.yml
file which is a specification of the entire app’s configuration. Check .sb.yml file for more information.
This will implement a simple endpoint in Flask which will increment a counter everytime the page is loaded in the browser.
It uses Redis to keep track of the count.
data-cache
and attach it to the app using separate variables.
Procfile
which is the idomatic way to run Flask apps.
web
is the name of the default process which will run in the app container.