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



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

1
$ npm install

Setup MySQL

Edit file: src/backend/config/config.default.js

1
2
3
4
5
6
7
8
9
10
11
12
13
// 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

1
$ npm run dev:backend

Start front service

1
$ npm run dev:front

Test

1
2
$ npm run test:backend
$ npm run cov:backend