0.0.21 • Published 8 years ago

bug-shared v0.0.21

Weekly downloads
59
License
-
Repository
-
Last release
8 years ago

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 then npm link
  • Navigate to each of the other projects that will use this shared lib
  • Run npm link bug-shared and then npm 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

8 years ago

0.0.20

8 years ago

0.0.19

9 years ago

0.0.18

9 years ago

0.0.16

9 years ago

0.0.15

9 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago