https://github.com/dori-dev/flask-corona-info
Live Corona statistics and information site with flask.
https://github.com/dori-dev/flask-corona-info
coronavirus-real-time coronavirus-tracking crawler flask python python3 scrapy spider
Last synced: 26 days ago
JSON representation
Live Corona statistics and information site with flask.
- Host: GitHub
- URL: https://github.com/dori-dev/flask-corona-info
- Owner: dori-dev
- License: mit
- Created: 2022-02-24T12:34:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-21T08:16:55.000Z (about 3 years ago)
- Last Synced: 2025-04-21T12:43:29.541Z (6 months ago)
- Topics: coronavirus-real-time, coronavirus-tracking, crawler, flask, python, python3, scrapy, spider
- Language: Python
- Homepage: https://corona-dori.herokuapp.com/
- Size: 179 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flask Live Corona Info
Live Corona statistics and information site with flask and scrapy.
#
## Tools- Flask
- Scrapy
- Matplotlib#
# How to Run Project
## Download Codes
```
git clone https://github.com/dori-dev/flask-corona-info.git
``````
cd flask-corona-info/
```## Build Virtual Environment
```
python3 -m venv env
``````
source env/bin/activate
```## Install Project Requirements
```
pip install -r requirements.txt
```## Use Flask to Run Project
```
flask run
```## Use Python to Run Project
```
python app.py
```## See Result
Open This Link in Your Browser: [127.0.0.1:5000](http://127.0.0.1:5000/)
#
# Project Tree```
flask-corona-info
├── app.py
├── dictionary.py
├── get_info.py
├── README.md
├── requirements.txt
├── run_spider.py
├── scrapy.cfg
├── templates
│ └── index.html
├── static
│ ├── DB
│ │ ├── info_db.dat
│ │ ├── old_info_db.dat
│ │ └── plot.png
│ ├── font
│ │ └── IRANSansWeb.woff2
│ ├── img
│ │ ├── favicon.ico
│ │ ├── live.png
│ │ └── logo.png
│ └── style.css
└── corona_crawler
├── __init__.py
├── items.py
├── middlewares.py
├── pipelines.py
├── settings.py
└── spiders
├── __init__.py
└── spider.py
```#
## LinksDemo of Project: [corona-dori.herokuapp.com](https://corona-dori.herokuapp.com/)
Download Source Code: [Click Here](https://github.com/dori-dev/flask-corona-info/archive/refs/heads/master.zip)
My Github Account: [Click Here](https://github.com/dori-dev/)