simple Scala/Lift app demonstrating use of Dwolla's REST API
The only prerequisite is to have Java 1.5 or later installed.
- Retrieve your Dwolla app's client key and secret (create an app on Dwolla if you don't already have one) and store them as environment variables - they will be used by the app to authenticate with Dwolla. Set the following environment variables:
DWOLLA_CLIENT_KEY=[INSERT CLIENT KEY HERE]
DWOLLA_SECRET=[INSERT SECRET HERE]
- Run ./sbt if you're using Mac or Linux, or sbt.bat if you're using Windows. Simple Built Tool will automatically download and install any needed dependencies (including Scala).
- At the SBT prompt (>) type: container:start then wait a few seconds for everything to compile.
- That's it! Visit http://127.0.0.1:8080/