A friend of mine posted on facebook that they would love an app that would allow them to quickly and anonymously connect to another person for a 10 minute emote session. It seemed like a cool idea, so here it is. With just text message, you can easily create an account, and join the queue to be paired with someone else. All messaging is done through the provided number, and at the end of 10 minutes (or sooner if you choose) you are unpaired, and can pair with someone else.
!help
- displays a list of available commands
!signup [your name]
- create an account with your name
!deleteme
- delete your account and all information related to your phone number
!pair
- join the queue to be paired up with another person
!unpair
or !stop
- leave the queue, or unpair with someone you are already paired with
!message [message text]
- sends your message text to the person you are paired with
[message text]
- also sends your message to the person you are paired with.
Git clone
andcd coronachat
- Install dependencies:
npm install
- Set up database: you will need a postgres database to make this work. I used
ElephantSQL
to very quickly spin up a postgres machine (literally 2 minutes) for free. - Set up a
twilio
account - Update
.env
with yourpostgres
andtwilio
information - Run database migrations
npx sequelize db:migrate
- If running locally, use this to forward the twilio traffic to your localhost:
twilio phone-numbers:update "PUT YOUR TWILIO PHONE NUMBER HERE" --sms-url="http://localhost:3300/sms"
- Run project
npm run start
- Start texting the
twilio
number to interact!