Hello,
thanks for your excellent article and code, I just start the study of the PWAs.
My first step was to run on a Linux PC browser: to make it work I needed to install the dotenv plugin for nodeJS, just to make possible the read of the .env file - otherwise the DARKSKY_API_KEY variable was always undefined.
In this way I can request the current forecast data.
Second step was the deploy on Firebase and the installation on my mobile.
This is working well but, on the mobile, I never receive the current forecast data, only fake data.
After I studied the architecture of the project and I discovered that the data request is done by the node server on the PC!
So, on the mobile solution, how the app can works ??
Hello, thanks for your excellent article and code, I just start the study of the PWAs.
My first step was to run on a Linux PC browser: to make it work I needed to install the dotenv plugin for nodeJS, just to make possible the read of the .env file - otherwise the DARKSKY_API_KEY variable was always undefined. In this way I can request the current forecast data.
Second step was the deploy on Firebase and the installation on my mobile. This is working well but, on the mobile, I never receive the current forecast data, only fake data.
After I studied the architecture of the project and I discovered that the data request is done by the node server on the PC! So, on the mobile solution, how the app can works ??
Thanks!