A cross-platform (Android, iOS, Web) dashboard to represent the trend of the Covid-19 pandemic in Italy.
https://marinimau.github.io/covid19_dashboard/
npm install -g expo-cli
if the command above generates errors try with sudo.
After installing it’s common to see:
zsh: command not found: expo
when you try to run expo-cli.
To avoid this problem launch these two commands:
export PATH=$PATH:~/.npm-global/bin
and then:
source ~/.bash_profile
Simply go to the project path and write:
npm install
and after
npm start
The Metro Bundler web page should appear in seconds.
Simply click on ‘run in web browser’ from the Metro Boundler web page.
If you have the iOS simulator installed, just click on ‘run on iOS simulator’, otherwise:
download Expo on your mobile phone (from App Store or Play Store);
connect the phone to the same network of the computer where you launched the Expo;
Scan the QR code (using the Expo app integrated scanner on Android; for iOS use the system integrated scanner).
Source:
https://github.com/pcm-dpc/COVID-19
realtime updated.
Author: marinimau
Source Code: https://github.com/marinimau/covid19_dashboard
#react #reactjs #covid #javascript