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.
- 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