# PlatformApplication Class platform
Module | import { PlatformApplication } from "@tsed/common" |
---|---|
Source | /packages/common/src/platform/services/PlatformApplication.ts |
# Overview
class PlatformApplication<T = TsED.Application> extends PlatformDriver<T> {
constructor(platformHandler: PlatformHandler);
protected static createRawApp(): any;
statics(endpoint: string, options: PlatformStaticsOptions): void;
}
# Description
PlatformApplication
is used to provide all routes collected by annotation @Controller
.
# Members
protected static createRawApp(): any;
statics(endpoint: string, options: PlatformStaticsOptions): void;
- Session & cookies
- Passport.js
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- Throw HTTP Exceptions
- Customize 404
- AWS
- Jest
- Seq
- Controllers
- Providers
- Model
- Converters
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing