Skip to content

Commit

Permalink
Cleaning Up
Browse files Browse the repository at this point in the history
  • Loading branch information
sarojbelbase committed Jul 2, 2020
1 parent 7a7f005 commit 5cd7997
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<p align="center">
<img src="./src/assets/images/black.svg" width="35%" height="auto"><br>
<strong>Yet another look into covid-19 cases in nepal</strong><br>
<strong>Yet another look into covid-19 cases inside nepal</strong><br>
</p>

<img src="./public/img/img/summary.png" width="100%" height="auto"><br>

## Introduction

**covidnepal** is just another try to look into covidcases inside Nepal. It was made to cover reliable and more informational data as possible inside a same application. It depends on reliable API (after spending a months for it). This application uses PWA (Progressive Web App) technology, meaning it could be installed inside the browser easily like a mobile application and later could be run like an application. This application also follows **neumorphic** design style for UI & smoother animations for better UX.
**covidnepal** is just "another try" to look into covidcases inside Nepal. It was made to cover reliable, detailed and more informational data as possible inside a same application. It depends on reliable API (after spending months for it). This application uses PWA (Progressive Web App) technology, meaning it could be installed inside the browser easily like a mobile application and later could be run like an application. This application also follows **neumorphic** design style for UI & smoother animations for better UX.


### Features
Expand All @@ -22,9 +22,9 @@

### Links

<h4><a target="_blank" href="https://covidnepal.now.sh">Go to website | covidnepal.now.sh</a><h4>
<h4><a target="_blank" href="https://t.me/covidnepal_bot">Go to telegram bot | t.me/covidnepal_bot</a><h4>
<h4><a target="_blank" href="https://progressiveapp.store/mypwa/covidnepal">Go to pwa store | progressiveapp.store/mypwa/covidnepal </a><h4>
<strong><a target="_blank" href="https://covidnepal.now.sh">website > covidnepal.now.sh</a></strong><br>
<strong><a target="_blank" href="https://t.me/covidnepal_bot">telegram bot > t.me/covidnepal_bot</a></strong><br>
<strong><a target="_blank" href="https://progressiveapp.store/mypwa/covidnepal">pwa store > progressiveapp.store/mypwa/covidnepal </a></strong>

## Prerequisites

Expand Down Expand Up @@ -61,14 +61,13 @@

## Installation

Go to root folder & install the packages using: `yarn install`
Go to root folder & install the required packages using: `yarn install`


## Development Setups

To compiles and hot-reload for every changes: `yarn serve`
To compiles & hot-reload for every changes: `yarn serve`

To compiles & minify for production: `yarn build`


### Made with ❤️ in Nepal.
#### Contributions are welcome &bull; Made with ❤️ in Nepal.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "covidnepal",
"description": "yet another look at covid-19 cases in nepal",
"author": "sidbelbase",
"version": "1.1.9",
"version": "1.2.0",
"private": true,
"scripts": {
"start": "vue-cli-service serve",
Expand Down
10 changes: 5 additions & 5 deletions src/reg-service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@ import { register } from 'register-service-worker';
if (process.env.NODE_ENV === 'production') {
register(`${process.env.BASE_URL}service-worker.js`, {
ready() {
console.log('Application is now started downloading...');
console.log('covidnepal is registering...');
},
registered(registration) {
console.log('Service worker has been registered.');
console.log('covidnepal has been registered.');
setInterval(() => {
registration.update();
}, 1000 * 60 * 20);
},
cached() {
console.log('Content has been cached for offline use.');
console.log('covidnepal has been cached for offline use.');
},
updatefound() {
console.log('New content is downloading.');
},
updated(registration) {
console.log('New content is available; please refresh.');
console.log('New updates available; please update.');
document.dispatchEvent(
new CustomEvent('swUpdated', { detail: registration })
);
},
offline() {
console.log('No internet connection found. App is running in offline mode.');
console.log('No internet connection found. covidnepal is running in offline mode.');
},
error(error) {
console.error('Error during service worker registration:', error);
Expand Down

2 comments on commit 5cd7997

@vercel
Copy link

@vercel vercel bot commented on 5cd7997 Jul 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 5cd7997 Jul 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.