Chevre Domain Library for Node.js

npm (scoped)
CircleCI
Coverage Status
Dependency Status
Known Vulnerabilities
npm

元祖興行パッケージオンラインチケットシステムのドメインモデルをnode.jsで使いやすいようにまとめたパッケージです。

Table of contents

Usage

npm install --save @chevre/domain
const chevre = require("@chevre/chevredomain");

前提として、mongooseでdefault connectionを確保することと、redis情報をセットすることが必要。

  • mongoose default connection
chevre.mongoose.connect();

Environment variables

Name Required Value Purpose
DEBUG false chevre-domain:* Debug
CHEVRE_PERFORMANCE_STATUSES_REDIS_PORT true パフォーマンス空席状況保管RedisCache接続情報
CHEVRE_PERFORMANCE_STATUSES_REDIS_HOST true パフォーマンス空席状況保管RedisCache接続情報
CHEVRE_PERFORMANCE_STATUSES_REDIS_KEY true パフォーマンス空席状況保管RedisCache接続情報

Code Samples

Code sample are here.

License

ISC