Messenger Bot for DevC Nairobi
This is a Messenger Bot that helps with some ops, running the developer community. Some of the features are:
- Signing up members
- Adding members to the Github org
- Subscribing members on the mailinglist
- RSVPing for events
- Event listing (past and upcoming) - TBD
- Post-event surveys - TBD
- Node 6.9.0+
- Git
- Ngrok
- Set environment variables as follows:
- Copy .env.sampleto.env(all env settings will live on this file)
- Register a Firebase test app and use the provided settings to update the FB_settings in the just created.envfile. Ensure database rules are set to public write i.e.:{ "rules": { ".read": false, ".write": true } }
- On your Github settings page, create a new personal access token with at least scope(admin:org - write) and updateGH_OAUTH_TOKENwith the generated token.
- You may need to create a test Github org in order to update GH_ORG.
- Run ngrok http 5000and note the generated https url.
- Set up your bot's Facebook webhook using the ngrok url.
- Use the provided Facebook developer app credentials to update PAGE_TOKEN,VERIFY_TOKENandAPP_SECRET.
 
- Copy 
- Install required node packages with npm install.
- Run the bot with npm start.
- The code is validated using ESLint.
- If you are using Atom you should install the following plugins:
- TODO
