Skip to content
/ dwsms Public

Dropwizard server that sends SMS using Twilio and Backbone

License

Notifications You must be signed in to change notification settings

nickfun/dwsms

Repository files navigation

Project: DWSMS

Goals

Demo a simple Dropwizard webapp that uses the Twilio API to send SMS messages.

It can be used as a refrence for people who want to get started with Dropwizard. It is also a simple demonstration of using Twilio to send SMS messages.

Running

This project requires Java 7, Maven, and a Twilio account. Twilio accounts are free to start.

  1. Clone this repo: git clone http://github.com/nickfun/dwsms.git
  2. use maven to build the project: mvn package
  3. rename the example-config.json to config.json and edit it to contain your Twilio dev tokens
    1. note that config.json is in the .gitignore, when you put your tokens in there make sure you continue to keep them secret.
  4. run the jar in /target it contains everything you need: java -jar target/server.jar server config.json
  5. By defaul it serves on port 8080, so view it at http://localhost:8080/

About

Dropwizard server that sends SMS using Twilio and Backbone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages