Skip to content

medicinal-ruby/ohana-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ohana API

CircleCI Dependency Status Maintainability Test Coverage security

Ohana API is a Ruby on Rails application that makes it easy for communities to publish and maintain a database of social services, and allows developers to build impactful applications that serve underprivileged residents.

This is the API + Admin Interface portion of the Ohana project, developed by @monfresh, @spara, and @anselmbradford during their Code for America Fellowship in 2013, in partnership with San Mateo County's Human Services Agency.

Apps built on top of Ohana API include a web-based search interface and an SMS app that allow anyone to easily find services that are available in a particular community.

Stack Overview

  • Ruby version 2.7.2
  • Rails version 5.2.4.4
  • Postgres
  • Testing Frameworks: RSpec, Factory Girl, Capybara

Local Installation

Follow the instructions in INSTALL.md to get the app up and running, and to learn how to import your data.

Demo

You can see a running version of the different parts of the application here:

Developer portal: https://ohana-api-demo.herokuapp.com/ (see db/seeds.rb for two usernames and passwords you can sign in with).

API: https://ohana-api-demo.herokuapp.com/api

Admin Interface: https://ohana-api-demo.herokuapp.com/admin (see db/seeds.rb for three usernames and passwords you can sign in with).

API documentation

https://codeforamerica.github.io/ohana-api-docs/

Client libraries

We would love to see libraries for other programming languages. If you've built one, let us know and we'll add it here.

Taxonomy

Out of the box, this project supports the Open Eligibility taxonomy. If you would like to use your own taxonomy, or add more categories to the Open Eligibility taxonomy, read our Wiki article on taxonomy basics.

Deploying to Heroku

See the Wiki.

Running the tests

Run tests locally with this simple command:

script/test

To see the actual tests, browse through the spec directory.

Contributing

We'd love to get your help developing this project! Take a look at the Contribution Document to see how you can make a difference.

Copyright

Copyright (c) 2013 Code for America. See LICENSE for details.

About

The open source API directory of community social services.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 86.6%
  • Haml 6.7%
  • PLpgSQL 4.3%
  • HTML 0.6%
  • SCSS 0.6%
  • JavaScript 0.5%
  • Other 0.7%