Multithreading COVID-19 Dashboard App
source link: https://github.com/neomjs/covid-dashboard
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neo.mjs covid-dashboard
A multithreading Dashboard showing countries affected by COVID-19.
Switch the Main tabs (Table, Gallery & Helix). When selecting a country inside the top-left SelectField, this will update the route, triggering a selection update on the active view. Selecting an item inside the active view will adjust the route as well, updating the SelectField as well. Switching tabs will adjust the current selection.
The App supports the dark & light themes.
You can configure and sort the gallery & helix with the controls on the right side, resulting in a firework of CSS3 transitions.
This is a perfect performance demo for the webworkers driven UI framework neo.mjs .
Content
Online Versions
You can find the Online Versions here on GitHub Pages (COVID-19 Dashboard App).
Preview Images
Getting Started
-
Clone this repo to your system to get the project files
git clone https://github.com/neomjs/covid-dashboard.git
-
Open the checked out top level folder inside your terminal
cd covid-dashboard
-
Install the required node modules & run all relevant build scripts at once
npm run build-all
-
Make sure to use a local WebServer!
npm run server-start
Docs App
Since this app shell was created using:
npx neo-app
We do get documentation views for our app source code out of the box:
Multithreading
In case you want to take a closer look at the workers setup, take a look into the Chrome dev tools Sources:
Your app code will get loaded into the App thread.
Attribution
- This App is created using the neo.mjs UI framework.
- Data provided by NovelCOVID/API .
- Icons made by Freepik from www.flaticon.com .
Join our Slack Channel for questions & feedback:
Build with :heart: in Germany.
Copyright (c) 2020 - today, Tobias Uhlig
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK