python 3, function, oops, environment, database connection
flask basic
• create twilio account and get a whatsapp bot number
• put account_sid and auth_token in twilio_auth.py
• when you run the server, you also need to change link of whatsapp message coming link from twilio (use below path)
go to twilio > messaging > settings > whatsapp sendbox settings > page (Twilio Sandbox for WhatsApp) > find (Sandbox Configuration) > find -("WHEN A MESSAGE COMES IN") and put here the link of your server ie. http://www.yourdomain/bot
• basic knowledge of mongodb
• I used below given collections
- classroom
- events
- Training management team
- class_update
- users
• put database connection link in db.py (MongoClient)
I use ngrok server. Server is required to connect Flask to Twilio.
---------------------------Make sure you have covered all of the above requirements before running----------------------------------