Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nestrx/twilio

The Twilio module api Users and OTP for NestJs framework.
https://github.com/nestrx/twilio

Last synced: 7 days ago
JSON representation

The Twilio module api Users and OTP for NestJs framework.

Awesome Lists containing this project

README

        

# TWILIO
The Twilio module api Users and OTP for [NestJS framework](https://nestjs.com/).

## Installation

npm:
```bash
npm i @nestrx/twilio
```
yan
```bash
yan add @nestrx/twilio
```

## Configure

app.module.ts
```ts
...
@Module({
...
imports: [
...
HttpModule,
TwilioModule.forRoot({
token: 'your_app_token',
}),
...
],
...
})
...
```

## Usage

your.service.ts

```ts
...
@Injectable()
export class YourService {
constructor(private twilio: TwilioService) {
}
...
```