A Light Application Framework for Node.js and Typescript.
LAF includes a very light application wrapper and a little sugar around Express to provide a backbone for most RESTful API applications.
npm install @eddieajau/laf
The Dependency Injection container provides the following bindings:
Binding | Module | Notes |
---|---|---|
ApplicationConfig |
'Application` | |
LOGGER |
'Application` | Your logger. |
HttpModuleConfig |
'HttpModule` | |
Router |
'HttpModule` | The Express router. |
TokenService |
'HttpModule` | A service that supports working with JWTs. |
TokenServiceConfig |
'HttpModule` |
npm run demo