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

https://github.com/kartikmehta8/joker-twilio

A Node.js project that uses Twilio's SMS API to send a random joke as an SMS every 24 hours.
https://github.com/kartikmehta8/joker-twilio

javascript nodejs twilio

Last synced: 3 months ago
JSON representation

A Node.js project that uses Twilio's SMS API to send a random joke as an SMS every 24 hours.

Awesome Lists containing this project

README

        



This Node.js and JavaScript project uses Twilio's SMS API to send a random joke as an SMS every 24 hours. It fetches a joke from a joke API using the Axios library, formats it into a message, and sends it as an SMS using Twilio's API.

### Setup
- Fork the repository.
- Clone the forked repository.
```
git clone https://github.com//joker-twilio
```
- Open terminal in the repository folder.
```
cd /path_to_folder/joker-twilio
```
- Install the dependencies.
```
npm install
```
- Change folder .sample.env to **.env**
- Create an account on [Twilio](https://www.twilio.com).
- Enter the required credentials in **.env**.
- Run the script & have fun!
```
node index.js
```



Made with ❤️ by kartikmehta8