Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

casa

> 后端框架
Open source

Volunteer management system for nonprofit CASA, which serves foster youth in counties across America.

373 stars0 likes1 views
WebsiteGitHub

About

Volunteer management system for nonprofit CASA, which serves foster youth in counties across America.

CASA Project and Organization Overview

A CASA (Court Appointed Special Advocate) is a role where a volunteer advocates on behalf of a youth in their county's foster care system. CASA is also the namesake role of the national organization, CASA, which exists to cultivate and supervise volunteers carrying out this work – with county level chapters (operating relatively independently of each other) across the country.

Table of Contents

  • Welcome contributors!
    • Communication and Collaboration
    • About this project
  • Tech Stack
  • Resources
  • Developing!
    • How to Contribute
    • Installation
      • Getting Started (Codespaces) ️
      • Local Setup Instructions
      • Platform Specific Installation Instructions
      • Common issues
    • Running the App / Verifying Installation
      • QA Environment
      • Logging in with seed users
      • Local email
      • Running Tests
      • Cleaning up before you pull request
      • Frontend Architecture
    • Keeping Your Local Environment Up to Date
  • Contributors
  • Other Documentation
  • Acknowledgements
  • Feedback

Welcome contributors!

We are very happy to have you! CASA and Ruby for Good are committed to welcoming new contributors of all skill levels.

Start with the contributing guide for setup, issue claiming, testing, and pull request expectations.

Find issues to work on here on the issue board. Issues on the project's TODO column are another way to browse issues. Check to see that no one is assigned to the issue. Then comment on it to claim the issue. Commenting on an issue doesn't automatically get the issue assigned so double check the comments on an issue to see that no one is requesting assignment.

Pull requests which are not for an issue but which improve the codebase are also welcome! Feel free to make GitHub issues for bugs and improvements. A maintainer will be keeping an eye on issues and PRs every day or three.

Communication and Collaboration

We highly recommend that you join us in slack in the #casa channel so you can get fast help for any questions you may have.

Check out our google calendar to see when office hours and stakeholder meetings are.

You can also open an issue or comment on an issue on GitHub and a maintainer will reply to you.

About this project

CASA is a national organization with many regional chapters. We currently work with Prince George's County CASA in Maryland, Montgomery CASA Maryland, and Howard County Maryland

This system provides value by:

  • providing volunteers with a portal for logging activity
  • allow supervisors to oversee volunteer activity
  • generate reports on volunteer activity for admins to use in grant proposals

Read about the product sense that guides our approach to this work.

How CASA works:

  • A foster youth is represented as a CASA case.
  • The CASA case is assigned to a volunteer.
  • The volunteer records their efforts spent on the CASA case as case contacts.
  • Supervisors oversee CASA volunteers by monitoring, tracking, and advising them on CASA case activities.
  • At PG CASA, the minimum volunteer commitment is one year (this varies by CASA chapter, in San Francisco the minimum commitment is ~ two years). A volunteer's lifecycle is very long, so there's a lot of activity for chapters to organize.

Project Considerations

  • PG CASA is operating under a very tight budget. Right now, they manually input volunteer data into a volunteer management software built specifically for CASA, but upgrading their account for multiple user licenses to allow volunteers to self-log activity data is beyond their budget. Hence why we are building as lightweight a solution as possible that can sustain itself with Ruby for Good's support.
  • While the scope of this platform's use is currently for PG County CASA and Montgomery county CASA, we are building with a mind toward multitenancy so this platform could prospectively be used by other CASA chapters across the country.

More information:

The complete role description of a CASA volunteer in Prince George's County.

Tech Stack

Technology Version
Ruby 4.0.6 (see .ruby-version)
Rails 7.2
PostgreSQL 14+
Node.js LTS/Krypton (see .nvmrc)

Key libraries: Hotwire Turbo, Stimulus, RSpec, StandardRB

Resources

  • Architecture decisions — ADRs explaining key technical choices and entity relationship diagrams
  • DB diagram — import schema.rb into dbdiagram.io for a live model diagram
  • Product sense — mission and product philosophy (recommended reading for leads and product contributors)
  • Wiki — additional guides and who's who
  • Google Calendar — office hours and stakeholder meetings

Developing!

How to Contribute

See our contributing guide ✨

Installation

Getting Started (Codespaces) ️

  1. Follow the link above or follow instructions to create a new Codespace.; You can use the web editor, or even better open the Codespace in VSCode
  2. Wait for the container to start. This will take a few (10-15) minutes since Ruby needs to be installed, the database needs to be created, and the bin/setup script needs to run
  3. Run bin/dev and visit the URL that pops in VSCode up to see the CASA page
  4. Login as a sample user — see Logging in with seed users for credentials (the same credentials also work on the QA environment)

Local Setup Instructions

Downloading the Project (on a Mac or Linux machine)

  1. git clone https://github.com/rubyforgood/casa.git clone the repo to your local machine.
  2. You can ask a maintainer for permission to make a branch on this repo.
  3. You can also create a fork on GitHub and make a pull request from the fork.

Ruby

  1. Install a ruby version manager: rvm or rbenv
  2. when you cd into the project directory, let your version manager install the ruby version in .ruby-version. Right now that's Ruby 4.0.3
  3. gem install bundler

node.js

  1. (Recommended) Install nvm, which is a node version manager.
    • If you use asdf, the node version from .tool-versions will be used, but may be out of sync with the codename version in .nvmrc. To use the version from .nvmrc, see one of these options: legacy file codename support or installing via custom script.
  2. Install a current LTS version of Node. Running nvm install from this directory will read the .nvmrc file to install the correct version.

PostgreSQL ("postgres")

  1. Make sure that postgres is installed.
  • If you're on Ubuntu/WSL, use sudo apt-get install libpq-dev so the gem can install. Use the Postgres repo for Ubuntu or WSL to get the server and client tools.
  • If you're on Fedora/Cent Os use sudo dnf install libpq-devel. If you prefer choose package of libpq-devel via rpm
  • If you're on Windows, use the official installer and accept all defaults. Alternatively, a Chocolatey package is available with choco install postgresql.

Chrome Browser

  1. The Spec tests uses Chrome Browser and Chromedriver for some of the tests. A current version of chromedriver will be installed when bundle install is run. TO install Chrome, see Chrome Install.

Another option is to install the Chromium browser for your operating system so the browser-based Ruby feature/integration tests can run. Installing chromium-browser is enough, including for many WSL (Windows subsystem for Linux) distributions.

If you are using Ubuntu on WSL and receive the following message when trying to run the test suite...

Command '/usr/bin/chromium-browser' requires the chromium snap to be installed. Please install it with: snap install chromium

...check out the instructions on installing google-chrome and chromedriver for WSL Ubuntu.

Platform Specific Installation Instructions

  • Docker
  • Linux
  • Mac
  • Windows — see the WSL setup guide for the recommended Windows path
  • Windows Subsystem for Linux (WSL)
  • Nix

Common issues

Rails/rake commands hang forever instead of running

Run: rails app:update:bin

No option for a user to sign up through the UI

This is intentional. Use a pre-seeded user account — see Logging in with seed users.

Windows error: "Requirements support for mingw is not implemented yet"

Use RubyInstaller instead.

Images not displaying locally

Install imagemagick: https://imagemagick.org/script/download.php

M1 Mac installation issues

Run these commands before starting the installation process:

  1. Set the architecture: $env /usr/bin/arch -arm64 /bin/zsh ---login
  2. Remove all gems: gem uninstall -aIx

bin/setup fails with a credentials error

  1. Open the .env file.
  2. Update POSTGRES_USER and POSTGRES_PASSWORD to match your PostgreSQL credentials.
  3. Run bin/setup

Running the App / Verifying Installation

  1. cd casa/
  2. Run bin/setup
  3. Run bin/dev and visit http://localhost:3000/ to see the app running.

QA Environment

A publicly accessible QA environment is available at https://casa-qa.herokuapp.com/. You can log in using the same seed credentials below — useful for exploring the app without any local setup.

Logging in with seed users

Local: http://localhost:3000/users/sign_in — QA: https://casa-qa.herokuapp.com/users/sign_in

Email Role Password
[email protected] Volunteer 12345678
[email protected] Supervisor 12345678
[email protected] Admin 12345678
[email protected]

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rubycasacasa-chapterscasa-volunteersdocker

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架