augejs
is a progressive Node.js framework for building applications.
:star2: Star us on GitHub — it helps! :clap:
https://github.com/augejs/augejs.github.io
Inversion of Control is a common phenomenon that you come across when extending frameworks. Indeed it’s often seen as a defining characteristic of a framework. — Martin Fowler
augejs
is on top of InversifyJS
import { Module, Inject } from '@augejs/core';
import { AXIOS_IDENTIFIER, AxiosInstance } from '@augejs/axios';
@Module()
class AppModule {
@Inject(AXIOS_IDENTIFIER)
httpService!: AxiosInstance;
}
We use the @Inject
decorator to inject the instance.