egg-born-showcase-watch-articles
v1.0.38
Published
Watch articles's statistics, such as visits, stars, replies, etc.
Downloads
50
Readme
EggBorn.js Showcase: Watch Articles
This is a showcase for EggBorn.js, and also is a powerful tool to watch articles's statistics automatically, such as visits, stars, replies, etc.
Vue.js + Framework7 + Koa.js + Egg.js + MySQL + GitHub Passport
Try The Showcase
Website
- Website: http://wa.egg-born.org
- QRCode:
Screenshots
How To Use
Append your article's url to the system, which will fetch the article's statistics automatically with the corresponding pattern. If has not the corresponding pattern for the article, you can create one.
Pattern Library
Welcome to fork the repo watch-articles, and create your own patterns, then submit PR, and then post them here!
| Pattern | Author | | :------- | :---------------- | | github-repo | zhennann | | cnode-topic | zhennann | | juejin-im-post | zhennann |
Getting Started
Installation
$ npm install
Setup MySQL
Edit file: src/backend/config/config.default.js
// mysql
config.mysql = {
clients: {
// donot change the name
__ebdb: {
host: '127.0.0.1',
port: '3306',
user: 'travis',
password: '',
database: 'watch-articles',
},
},
};
Run
Start backend service
$ npm run dev:backend
Start front service
$ npm run dev:front
Test
$ npm run test:backend
$ npm run cov:backend