0.0.21 • Published 10 years ago
bug-shared v0.0.21
buglabs / pro.shared
Purpose
Pro.Shared provides interfaces to underlying storage and shared libraries between Bug's products. Current pieces implemented by this library include the mongodb models.
Use (development)
Installation
- Clone this repository to your rig.
- Navigate to this directory. Run
npm install
thennpm link
- Navigate to each of the other projects that will use this shared lib
- Run
npm link bug-shared
and thennpm install
Use
var bugShared = require('bug-shared')
- Establish mongoose DB connection:
app.db = mongoose.createConnection(config.mongodb.uri, config.mongodb.options);
bugShared.models(app, mongoose)
- From there,
app.db.models.*
is available.
Use (production)
TBD
0.0.21
10 years ago
0.0.20
10 years ago
0.0.19
10 years ago
0.0.18
10 years ago
0.0.16
10 years ago
0.0.15
10 years ago
0.0.14
10 years ago
0.0.13
10 years ago
0.0.12
10 years ago
0.0.11
10 years ago
0.0.10
10 years ago
0.0.9
10 years ago
0.0.8
10 years ago
0.0.7
10 years ago
0.0.6
10 years ago
0.0.5
10 years ago
0.0.3
10 years ago
0.0.2
10 years ago
0.0.1
10 years ago