Right now we deploy our backend on Heroku for free. The consequence is that after 30 minutes of inactivity, the backend goes to sleep.
The next request takes a few seconds to warm up the backen (well, up to 10s!) and it would cause a bad user experience into the main UI.
We should add a loading screen with some form of nice animation that covers the entire app, makes a first request to the backend (mabe toward a /status route that just returns +ok) and then goes away.
Right now we deploy our backend on Heroku for free. The consequence is that after 30 minutes of inactivity, the backend goes to sleep.
The next request takes a few seconds to warm up the backen (well, up to 10s!) and it would cause a bad user experience into the main UI.
We should add a loading screen with some form of nice animation that covers the entire app, makes a first request to the backend (mabe toward a
/status
route that just returns+ok
) and then goes away.