Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amitkannaujiya/coronastastics
This is Firefox Kiaos Application which parse Ministry of health and family welfare website and display same on application
https://github.com/amitkannaujiya/coronastastics
html-css-javascript nodejs
Last synced: 5 days ago
JSON representation
This is Firefox Kiaos Application which parse Ministry of health and family welfare website and display same on application
- Host: GitHub
- URL: https://github.com/amitkannaujiya/coronastastics
- Owner: AmitKannaujiya
- License: apache-2.0
- Created: 2020-04-05T14:48:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-10T06:52:57.000Z (over 1 year ago)
- Last Synced: 2024-11-07T03:13:35.720Z (about 2 months ago)
- Topics: html-css-javascript, nodejs
- Language: JavaScript
- Homepage:
- Size: 113 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Corona Statistics
This is Firefox Kias Application which parse Ministry of health and family welfare website and display same on application# Features
This is a `node js`, `javascript` application which crawl ``Ministry of Healthand Family WelfareGovernment of India``(https://www.mohfw.gov.in/) website
and fetch latest data available there and store same in application . And same is visible on application# Installation
initial setup require to have latest [`node js`] and [`npm`] (https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04) and [KaiOS](https://developer.kaiostech.com/getting-started/) setup.Install npm in project folder `npm install` to download project dependencies.
# Crawal data
Latest COVID-19 Stastics is updated periodically on ``Ministry of Healthand Family WelfareGovernment of India``(https://www.mohfw.gov.in/) website .
This application crawl website and parse data present over thier. If structure of website changes the application code needs to be changed accordingly.To crawl latest data type `node crawler.js` command on console it will take latest data .
## Usage
Import the app into the [App Manager](https://developer.mozilla.org/Firefox_OS/Using_the_App_Manager). Then you can run it in the simulator, or in a Firefox OS device.
## Code walkthrough
The `manifest.webapp` file contains metadata about the app, such as its name, description, icon and required permissions for running under Firefox OS.
Moving over to `index.html`, this is the starting point for the app when it's launched, and also where the layout is defined and the JavaScript files with the functionality and logic are loaded.
The appearance is defined in `css/app.css`. There are just some very basic rules.
We define the app's behaviour in `js/app.js` and `js/kios`.
```javascript
```
```nodeJs
```