Skip to content

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

Notifications You must be signed in to change notification settings

kartikmehta8/joker-twilio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/<your_username>/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.
  • Enter the required credentials in .env.
  • Run the script & have fun!
node index.js

Made with ❤️ by kartikmehta8

About

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

Topics

Resources

Stars

Watchers

Forks