Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eggjs/egg-datahub
Macaca DataHub plugin for Egg.js
https://github.com/eggjs/egg-datahub
datahub eggjs macaca mock
Last synced: about 1 month ago
JSON representation
Macaca DataHub plugin for Egg.js
- Host: GitHub
- URL: https://github.com/eggjs/egg-datahub
- Owner: eggjs
- Created: 2018-04-26T15:22:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-28T07:34:57.000Z (over 2 years ago)
- Last Synced: 2024-10-29T21:05:52.315Z (about 1 month ago)
- Topics: datahub, eggjs, macaca, mock
- Language: JavaScript
- Homepage: https://macacajs.github.io/macaca-datahub
- Size: 32.2 KB
- Stars: 19
- Watchers: 10
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-egg - egg-datahub - Macaca [DataHub](//github.com/macacajs/macaca-datahub) plugin for Egg.js ![](https://img.shields.io/github/stars/macacajs/egg-datahub.svg?style=social&label=Star) ![](https://img.shields.io/npm/dm/egg-datahub.svg?style=flat-square) (仓库 / 插件)
README
# egg-datahub
---
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![node version][node-image]][node-url]
[![egg version][egg-image]][egg-url]
[![npm download][download-image]][download-url][npm-image]: https://img.shields.io/npm/v/egg-datahub.svg
[npm-url]: https://npmjs.org/package/egg-datahub
[travis-image]: https://img.shields.io/travis/eggjs/egg-datahub.svg
[travis-url]: https://travis-ci.org/eggjs/egg-datahub
[coveralls-image]: https://img.shields.io/codecov/c/github/eggjs/egg-datahub.svg
[coveralls-url]: https://codecov.io/gh/eggjs/egg-datahub
[node-image]: https://img.shields.io/badge/node.js-%3E=_8-green.svg
[node-url]: http://nodejs.org/download/
[egg-image]: https://img.shields.io/badge/egg-%3E=_2-green.svg
[egg-url]: https://github.com/eggjs/egg
[download-image]: https://img.shields.io/npm/dm/egg-datahub.svg
[download-url]: https://npmjs.org/package/egg-datahub> Macaca DataHub plugin for Egg.js
## Installation
```
$ npm i egg-datahub --save-dev
```## Configuration
config/plugin.js
```javascript
exports.datahub = {
enable: true,
package: 'egg-datahub'
};
```config.unittest.js (default config)
```javascript
exports.datahub = {
port: 9200,
hostname: 'localhost'
};
```## Example
[hackernews-datahub](//github.com/eggjs/examples/tree/master/hackernews-datahub)
## Contributors
|[
zivyangll](https://github.com/zivyangll)
|[
xudafeng](https://github.com/xudafeng)
|[
snapre](https://github.com/snapre)
|[
zhangyuheng](https://github.com/zhangyuheng)
|[
fengmk2](https://github.com/fengmk2)
|
| :---: | :---: | :---: | :---: | :---: |This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Sun Mar 27 2022 22:44:45 GMT+0800`.
## License
The MIT License (MIT)