Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/starkblaze01/covid19india
Covid 19 tracker for India
https://github.com/starkblaze01/covid19india
antd cache caching covid-19 covid19 hacktoberfest hacktoberfest2023 react service-worker webpack
Last synced: about 1 month ago
JSON representation
Covid 19 tracker for India
- Host: GitHub
- URL: https://github.com/starkblaze01/covid19india
- Owner: starkblaze01
- Created: 2022-05-16T18:16:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-28T11:55:55.000Z (about 1 year ago)
- Last Synced: 2024-10-28T11:52:44.410Z (3 months ago)
- Topics: antd, cache, caching, covid-19, covid19, hacktoberfest, hacktoberfest2023, react, service-worker, webpack
- Language: JavaScript
- Homepage: https://main--fabulous-lily-c598e2.netlify.app/
- Size: 127 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## :warning: The CORS has been disabled by GOV site, so client-side API would fail, trying setting it up locally and replace the API end-points on [client-side](https://github.com/starkblaze01/Covid19India/tree/main/client/src/config) with the [server-side function](https://github.com/starkblaze01/Covid19India/blob/main/index.js)
# Statistis of Covid 19 in India
- This website uses the end-point from gov site to take the data and show it in our custom UI.
- This is a custom setup of [React](https://react.dev/) using [Webpack](https://webpack.js.org/) without any boilerplate
- This repo has implemented [Service Worker](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) on client side for cache, and apicache for server side caching# Covid-19_Tracker
To serve static file from backend:
- Install dependencies
- yarn install
- cd client/ && yarn install- In the root folder run:
- `node index.js`To serve with wepback:
- cd client && yarn start