UNPKG

kontainer-di

Version:

A simple lightweight Dependency Injection container

25 lines (16 loc) 585 B
# Kontainer DI - Express example # This folder contains a complete Node.js project featuring the DI container in a more real-world environment. The project contains a REST API for a Todo application, backed by a SQLite database. It will automatically create the database schema and and a few items the first time the application is started. You can checkout the container configuration for runtime as well as the test version under `tests/helpers`. ## Installation ## ``` npm install ``` ## Running the application ## ``` npm start ``` ## Running the tests ## ``` npm test ```