• Stars
    star
    260
  • Rank 151,225 (Top 4 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 8 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The official express + inversify+ inversify-express-utils examples

inversify-express-example

Travis Dependencies img img

The official express + inversify + inversify-express-utils example

Use examples

First of all run npm install

You can start a example by using ts-node

$ npm install -g ts-node
$ ts-node <example>/bootstrap

This will start up the server and you can use the example

If you want to run the unit tests, simply use npm test <example>/**/*.spec.ts

To run all tests simply run npm run test:all

Currently available examples

Name Description
Basic A really basic example. Nothing too fancy.
MongoDB Similar to the basic example. This time with MongoDB and some middleware. For detailed information see the readme in the folder.
BindingDecorators Similar to the basic example. This time with inversify-binding-decorators.
MiddlewareInjection A small example that shows how to inject middleware into controllers.
PostgresAndTypeORM A small example that shows how to integrate inversify-express-utils with TypeORM.