23

Multithreading COVID-19 Dashboard App

 4 years ago
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.
neoserver,ios ssh client

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

rMN3eiI.png!web

QvYJZje.png!web

QVzeIrA.png!web

Getting Started

  1. Clone this repo to your system to get the project files

    git clone https://github.com/neomjs/covid-dashboard.git
  2. Open the checked out top level folder inside your terminal

    cd covid-dashboard
  3. Install the required node modules & run all relevant build scripts at once

    npm run build-all
  4. 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:

http://localhost:8080/docs/

MbeQF3N.png!web

Multithreading

In case you want to take a closer look at the workers setup, take a look into the Chrome dev tools Sources:

yIfqAvj.png!web

Your app code will get loaded into the App thread.

Attribution

  1. This App is created using the neo.mjs UI framework.
  2. Data provided by NovelCOVID/API .
  3. Icons made by Freepik from www.flaticon.com .

Join our Slack Channel for questions & feedback:

Slack Channel Invite Link

Build with :heart: in Germany.

Copyright (c) 2020 - today, Tobias Uhlig


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK