An example micro-service showcasing tinioc
- Bindings
- Container
- Using the components outside of the container - in a controller
- Async components
- Different ways of implementing the same component
- Singleton component implementation
- Testing
Clone the project and install it's dependencies
git clone https://github.com/tlaanemaa/tinioc-example.git
cd tinioc-example
npm install
The project will be rebuilt automatically every time it is started so you don't have to worry about that
npm start
There's not a lot of tests here but the ones that are can be run like this
npm test
There's also ESLint which can be run like so
npm run lint