|
2 years ago | |
---|---|---|
app | 2 years ago | |
bin | 3 years ago | |
config | 3 years ago | |
db | 3 years ago | |
lib | 3 years ago | |
log | 3 years ago | |
public | 3 years ago | |
storage | 3 years ago | |
tmp | 3 years ago | |
vendor | 3 years ago | |
.gitignore | 3 years ago | |
.ruby-version | 3 years ago | |
Capfile | 3 years ago | |
Gemfile | 3 years ago | |
Gemfile.lock | 3 years ago | |
README.md | 2 years ago | |
Rakefile | 3 years ago | |
config.ru | 3 years ago | |
package.json | 3 years ago |
Courier Bot is a simple SMS reporting proof of concept. This application is the result of observations made by reading about projects used in humanitarian aid and disaster relief over the past years (projects such as FrontlineSMS, Ushahidi, Needslist...).
This project was built using Rails 5. It's using the TwilioSMS API and websockets through Rails 5 ActionCable. It also uses Devise for authentication, Bootstrap 4, and Redis.
Demo: https://courier-bot.etiennebaque.com (login: demo@example.com - password: sms_is_alive)
git clone git@github.com:etiennebaque/courierbot.git
cd courierbot && bundle install
rails db:setup
rails s # App can be reached at http://localhost:3000
2 more things before you get started
./ngrok http 3000
to make your Rails app accessible publicly, via a secure tunnel.export TWILIO_ACCOUNT_SID=""
export TWILIO_AUTH_TOKEN=""
export TWILIO_PHONE_NUMBER=""