This repository contains examples for how to use the bolus dependency injection module for Node.js. There are currently two examples:
- basic - This example demonstrates very basic usage of the module including unit testing.
- express - This example demonstrates how the module can be used to build an Express web server with Sequelize for persistence.
To run the examples, you first need clone the repository locally. Then, open a command prompt in the desired example directory and install the npm modules:
$ npm install
Then run the example with:
$ npm start
To run the Jasmine unit tests, run:
$ npm test