|
|
@ -5,16 +5,16 @@ from their application via a REST API. It utilizes android phones as SMS gateway |
|
|
|
|
|
|
|
|
- **Technology stack**: React, Next.js, Node.js, NestJs, MongoDB, Android, Java |
|
|
- **Technology stack**: React, Next.js, Node.js, NestJs, MongoDB, Android, Java |
|
|
- **Status**: MVP in development, not ready for production use yet |
|
|
- **Status**: MVP in development, not ready for production use yet |
|
|
- **Link**: [https://textbee.vernu.dev](https://textbee.vernu.dev/) |
|
|
|
|
|
|
|
|
- **Link**: [https://textbee.dev](https://textbee.dev/) |
|
|
|
|
|
|
|
|
 |
|
|
 |
|
|
|
|
|
|
|
|
## Usage |
|
|
## Usage |
|
|
|
|
|
|
|
|
1. Go to [textbee.vernu.dev](https://textbee.vernu.dev) and register or login with your account |
|
|
|
|
|
2. Install the app on your android phone from [textbee.vernu.dev/android](https://textbee.vernu.dev/android) |
|
|
|
|
|
|
|
|
1. Go to [textbee.dev](https://textbee.dev) and register or login with your account |
|
|
|
|
|
2. Install the app on your android phone from [textbee.dev/android](https://textbee.dev/android) |
|
|
3. Open the app and grant the permissions for SMS |
|
|
3. Open the app and grant the permissions for SMS |
|
|
4. Go to [textbee.vernu.dev/dashboard](https://textbee.vernu.dev/dashboard) and click register device/ generate API Key |
|
|
|
|
|
|
|
|
4. Go to [textbee.dev/dashboard](https://textbee.dev/dashboard) and click register device/ generate API Key |
|
|
5. Scan the QR code with the app or enter the API key manually |
|
|
5. Scan the QR code with the app or enter the API key manually |
|
|
6. You are ready to send SMS messages from the dashboard or from your application via the REST API |
|
|
6. You are ready to send SMS messages from the dashboard or from your application via the REST API |
|
|
|
|
|
|
|
|
@ -24,7 +24,7 @@ from their application via a REST API. It utilizes android phones as SMS gateway |
|
|
const API_KEY = 'YOUR_API_KEY'; |
|
|
const API_KEY = 'YOUR_API_KEY'; |
|
|
const DEVICE_ID = 'YOUR_DEVICE_ID'; |
|
|
const DEVICE_ID = 'YOUR_DEVICE_ID'; |
|
|
|
|
|
|
|
|
await axios.post(`https://api.textbee.vernu.dev/api/v1/gateway/devices/${DEVICE_ID}/sendSMS?apiKey=${API_KEY}`, { |
|
|
|
|
|
|
|
|
await axios.post(`https://api.textbee.dev/api/v1/gateway/devices/${DEVICE_ID}/sendSMS?apiKey=${API_KEY}`, { |
|
|
receivers: [ '+251912345678' ], |
|
|
receivers: [ '+251912345678' ], |
|
|
smsBody: 'Hello World!', |
|
|
smsBody: 'Hello World!', |
|
|
}) |
|
|
}) |
|
|
|