-
Notifications
You must be signed in to change notification settings - Fork 109
Install and Configure
Thiago Bustamante edited this page Jan 20, 2019
·
1 revision
This library only works with typescript
. Ensure it is installed:
npm install typescript -g
To install typescript-rest:
npm install typescript-rest --save
Typescript-rest requires the following TypeScript compilation options in your tsconfig.json file:
{
"compilerOptions": {
"experimentalDecorators": true,
"emitDecoratorMetadata": true
}
}
- Server
- @Path Decorator
- Http Methods
- Request Parameters
- Types and languages
- @BodyOptions Decorator
- Service Context
- Service Return
- @Security Decorator
- Express Middlewares
- @PreProcessor Decorator
- @PostProcessor Decorator
- Server Errors
- Service Factory and IoC
- Inheritance and Abstract Services
- Swagger Documentation