##Comment all data of this project will be saved in app_data.json. news_example.json include many show case of news json. mail_example.htmp is the html string exported from news json, youcan open the file in browser. source of news:https://newsapi.org APP_KEY 845ab91152034cfba18b3e420518d351
every time you updates news in admin page, old new will be removed, the latest top-headline news will be download and storage.
##Modules The system include 5 module:
- admin.py -- a module providing several admin action in logically.
- data.py -- a module to storage, load data and update data.
- mail.py -- a module to send email
- news.py -- a module to get news, trans format and save them.
- service.py -- web service module, providing admin interface in browser, the entry of project
##How to run? python3 service.py open http://127.0.0.1:8888 in your browser, do everything in the page.