Multithreading COVID-19 Dashboard App

栏目: IT技术 · 发布时间: 5年前

内容简介: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. Selecti

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

Multithreading COVID-19 Dashboard App

Multithreading COVID-19 Dashboard App

Multithreading COVID-19 Dashboard App

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/

Multithreading COVID-19 Dashboard App

Multithreading

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

Multithreading COVID-19 Dashboard App

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


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

与机器赛跑

与机器赛跑

[美]埃里克·布林约尔松(Erik Brynjolfsson)、[美]安德鲁·麦卡菲(Andrew McAfee) / 闾佳 / 2013-1-20 / 6.00

一场数字革命正在加速进行。 一些科幻小说里的场景已经在现实中发生:无人驾驶汽车开上了公路;智能设备能高效地翻译人类语言;人工智能系统在智力竞赛里击败了所有人类选手;工厂雇主开始购买更多的新机器,却不招新工人…… 这些例子都证明,数字技术正在快速地掌握原本只属于人类的技能,并深刻地影响了经济。虽然大多数影响是积极的:数字革新将提高效率、降低商品价格(甚至到免费),以及增加经济总量。 ......一起来看看 《与机器赛跑》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

MD5 加密
MD5 加密

MD5 加密工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器