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.
- Host: GitHub
- URL: https://github.com/kartikmehta8/joker-twilio
- Owner: kartikmehta8
- Created: 2023-03-30T13:56:08.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-30T14:13:08.000Z (about 2 years ago)
- Last Synced: 2025-01-16T05:55:22.040Z (4 months ago)
- Topics: javascript, nodejs, twilio
- Language: JavaScript
- Homepage: https://replit.com/@mehtaaaaaah/JOKER?v=1
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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