Home > @infiniteobjects/express-server
A Preconfigured express server
PORT is respected. - You need to include the package reflect-metadata in your app init script.| Class | Description |
|---|---|
| ErrorHandlers | Error Handling middleware |
| Middleware | Preprocess Middleware |
| Routes | Basic Routes |
| Server | Server Class |
| Utils | Utilities to work with Requests |
| Interface | Description |
|---|---|
| AsyncRequestHandler | Async Parameter handler |
| AsyncRequestParamHandler | Async Request Parameter handler |
| IJwtToken | JWT Token data |
| IRouterConfig | A Route configuration based on an Express Router |
| IServerConfig | Server configuration |
| ISingleRouteConfig | A route configuration base on a Request Handler |
| IStaticPath | Static Path interface |
| ResponseMessage | Status Response Message |
| Type Alias | Description |
|---|---|
| RouteConfig | Route configuration |