Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anandukch/cowin-whatsapp-bot
Build your cowin whatsapp bot
https://github.com/anandukch/cowin-whatsapp-bot
cowin cowin-api twilio-api whatsapp-bot
Last synced: about 1 month ago
JSON representation
Build your cowin whatsapp bot
- Host: GitHub
- URL: https://github.com/anandukch/cowin-whatsapp-bot
- Owner: anandukch
- Created: 2021-06-21T10:02:22.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T16:58:00.000Z (almost 2 years ago)
- Last Synced: 2023-03-10T00:17:19.404Z (almost 2 years ago)
- Topics: cowin, cowin-api, twilio-api, whatsapp-bot
- Language: JavaScript
- Homepage:
- Size: 362 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Cowin WhatsApp Bot
### Tech Stack
1. JavaScript
2. NodeJS
3. ExpressJS
4. Twilio Messaging API### How to use
1. Create a twilio account
2. Store the credientials in a .env file
```
BASE_URL=
TWILIO_ACCOUNT=
TWILIO_TOKEN=
```
3. Go to Programmable Messaging->settings-> whatsapp sandbox settings in twilio.
4. Set up the sandbox with your app url.
5. Twilio will provide a whatsapp number to start messaging or you can create your own### Local setup
1. Fork the repository and clone it to your local machine
2. Install dependencies
```
npm install
```
3. Run the app
```
npm start
```
4. Expose your local development server to the Internet (eg. using ngrok)
5. Run it in your terminal
6. Paste the URL from ngrok in the whatsapp sandbox settings
7. Start messaging