https://github.com/freeclimbapi/node-send-sms-app
Node application that will send an SMS message to the number entered on a call
https://github.com/freeclimbapi/node-send-sms-app
sample-app
Last synced: 11 months ago
JSON representation
Node application that will send an SMS message to the number entered on a call
- Host: GitHub
- URL: https://github.com/freeclimbapi/node-send-sms-app
- Owner: FreeClimbAPI
- Created: 2019-11-21T15:57:01.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-09-06T16:02:25.000Z (over 2 years ago)
- Last Synced: 2025-01-02T05:27:23.774Z (about 1 year ago)
- Topics: sample-app
- Language: JavaScript
- Size: 216 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Send SMS App
This project serves as a guide to help you build an application with FreeClimb. Specifically, the project will:
- Receive an incoming call
- Get digits (phone number) from the caller
- Send an SMS to the phone number the caller input
## Setting up your new app within your FreeClimb account
To get started using a FreeClimb account, follow the instructions [here](https://docs.freeclimb.com/docs/getting-started-with-freeclimb).
## Setting up the Send SMS App locally
1. Download and install [Node.js](https://nodejs.org)
2. Install yarn globally [Mac OS](https://yarnpkg.com/lang/en/docs/install/#mac-stable) | [Windows](https://yarnpkg.com/lang/en/docs/install/#windows-stable)
3. Clone or download this repo
4. Install packages
```bash
$ yarn install
```
5. Configure environment variables (this tutorial uses the [dotenv package](https://www.npmjs.com/package/dotenv))
| ENV VARIABLE | DESCRIPTION |
| ------------ | ----------- |
| ACCOUNT_ID | Account ID which can be found under [API credentials](https://www.freeclimb.com/dashboard/portal/account/authentication) in Dashboard |
| API_KEY | API key which can be found under [API credentials](https://www.freeclimb.com/dashboard/portal/account/authentication) in Dashboard |
| HOST_URL | URL for hosted Send SMS Application |
## Using the Send SMS Application
1. Run the application using command:
```bash
$ node index.js
Running the application on port 80.
```
2. Call your FreeClimb number and follow the prompts!
## Getting Help
If you are experiencing difficulties, [contact support](https://freeclimb.com/support).