Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.89 KB

README.md

File metadata and controls

55 lines (39 loc) · 1.89 KB

Vaccine Finder

Hello Everyone 👋, I have developed a telegram bot that sends a notification to the user about slots available on the CoWIN portal for coronavirus vaccination.
The bot updates the person via notification once the slot is made available on the CoWIN portal. The message has information on which center has the available slots, the number of slots available, and the date of availability.

Check it out!


Script Setup

You can also run the local script with your own configurations.

Clone this Repository

https://github.com/nilesh-kawar/Vaccine-Finder.git

Navigate to the cloned directory & install the dependencies

npm install

Update environment variables

Open the file .env and replace the dummy values with a legitimate Telegram Bot Key, Telegram Chat ID, PORT, District ID and MongoDB URL.

API_TOKEN= #You can get your telegram token from bot father on telegram.
CHAT_ID= #Create a new group on telegram and add a chat id of that group here
PORT= #Assign a port 
DISTRICT_ID= #Find your District Id: https://apisetu.gov.in/api/cowin#/Metadata%20APIs/states
MONGODB_URL= mongodb://localhost:27017/{Database Name}

Run the script

node index.js

How to use Vaccine Finder

https://www.youtube.com/watch?v=jInQx9Uh5Jc&t=43s

Screeshots:

Thank you 🙏🏻