Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/nestrx/twilio
- Owner: nestrx
- License: mit
- Created: 2019-04-06T04:28:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-06T04:41:24.000Z (over 5 years ago)
- Last Synced: 2024-10-31T00:23:36.555Z (16 days ago)
- Language: TypeScript
- Homepage:
- Size: 3.91 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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) {
}
...
```