egg-born-showcase-watch-articles

1.0.38 • Public • Published

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

NPM version NPM quality build status Test coverage David deps Known Vulnerabilities NPM download Gitter

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

$ 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

Readme

Keywords

none

Package Sidebar

Install

npm i egg-born-showcase-watch-articles

Weekly Downloads

15

Version

1.0.38

License

ISC

Unpacked Size

1.26 MB

Total Files

112

Last publish

Collaborators

  • zhennann