This API provides endpoints for the giv2giv.org fund software. It uses Ruby 1.9.3, Rails and MySQL.
-
Install pre-requisites apt-get install nodejs
-
Install Ruby # We use rvm rvm install ruby-2.1.2
-
Install gems bundle install
-
Set config/app.yml variables
-
Setup your database (If this doesn't work, then you may need to install mysql, and/or change the information in config/database.yml.)
rake db:setup
-
Start the server!
rails s
You're off and running. Use your new API with a client like https://github.com/giv2giv-jquery or curl. See Curl Examples for endpoint detail.
Want to help out on development? Feel free to fork us, make changes, and submit pull requests!
Grab an open issue or contact us to find out what we could use help with.