@mocoin/domain
Mocoin Domain Library for Node.js
Last updated 2 years ago by ilovegadd .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @mocoin/domain 
SYNC missed versions from official npm registry.

Mocoin Domain Library for Node.js

Coverage Status

Mocoinのバックエンドサービスをnode.jsで簡単に使用するためのパッケージを提供します。

Table of contents

Usage

npm install @mocoin/domain

Environment variables

Name Required Value Purpose
DEBUG false mocoin-domain:* Debug
NPM_TOKEN true NPM auth token
NODE_ENV true environment name
SENDGRID_API_KEY true SendGrid API Key
DEVELOPER_LINE_NOTIFY_ACCESS_TOKEN true 開発者通知用LINEアクセストークン
WAITER_SECRET true WAITER許可証トークン秘密鍵
WAITER_PASSPORT_ISSUER true WAITER許可証発行者
ORDER_INQUIRY_ENDPOINT true 注文照会エンドポイント

DB接続サンプル

const mocoin = require('@mocoin/domain');

mocoin.mongoose.connect('MONGOLAB_URI');
const redisClient = mocoin.redis.createClient({
    host: '*****',
    port: 6380,
    password: '*****',
    tls: { servername: 6380 }
});

Code Samples

Code sample are here.

License

ISC

Current Tags

  • 0.0.0-alpha.18                                ...           latest (2 years ago)
  • 0.0.0-alpha.20                                ...           next (2 years ago)

20 Versions

  • 0.0.0-alpha.20                                ...           2 years ago
  • 0.0.0-alpha.19                                ...           2 years ago
  • 0.0.0-alpha.18                                ...           2 years ago
  • 0.0.0-alpha.17                                ...           2 years ago
  • 0.0.0-alpha.16                                ...           2 years ago
  • 0.0.0-alpha.15                                ...           2 years ago
  • 0.0.0-alpha.14                                ...           2 years ago
  • 0.0.0-alpha.13                                ...           2 years ago
  • 0.0.0-alpha.12                                ...           2 years ago
  • 0.0.0-alpha.11                                ...           2 years ago
  • 0.0.0-alpha.10                                ...           2 years ago
  • 0.0.0-alpha.8                                ...           2 years ago
  • 0.0.0-alpha.7                                ...           2 years ago
  • 0.0.0-alpha.6                                ...           2 years ago
  • 0.0.0-alpha.5                                ...           2 years ago
  • 0.0.0-alpha.4                                ...           2 years ago
  • 0.0.0-alpha.3                                ...           2 years ago
  • 0.0.0-alpha.2                                ...           2 years ago
  • 0.0.0-alpha.1                                ...           2 years ago
  • 0.0.0-alpha.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (21)
Dev Dependencies (32)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |