A project serving Community Education Partnerships - https://www.cep.ngo/ . This Rails application presents an admin interface for CEP to manage their volunteers and students. And provides a GraphQL backend for https://github.com/rubyforgood/inkind-volunteer .
This repository is the backend code for an application named InKind, which is a Ruby For Good project serving Community Education Partnerships (CEP).
Community Education Partnerships’ mission is to increase the learning opportunities and enhance the academic achievement of students experiencing homelessness and housing insecurity. Community Education Partnerships offers its students: individualized tutoring and mentoring, backpacks, school supplies, books, learning resources, enrollment assistance, and opportunities to participate in extracurricular enrichment activities.
This app tracks volunteer and student data, and feedback from the mentoring sessions that are a core part of CEP’s programming. These sessions provide vital stability to young people who lack access to learning opportunities and face a multitude of challenges that affect their educational outcomes. CEP volunteers form lasting relationships with students, and communicate their needs of food insecurity and other necessities to CEP, ensuring that staff members are able to facilitate the appropriate support for students, and by extension, their families. This app will enable CEP to collect and analyze critical data, facilitate quicker response times to requests for support, and enable them to apply for grant funding, ensuring that their work remains sustainable.
The counterpart to this codebase is inkind-volunteer
, which houses a Typescript/React mobile first codebase used by the volunteers to record data from their mentoring sessions with students.
Thanks for checking us out!
CONTRIBUTING.md
file for a guide on how to get startedPlease feel encouraged to join us on Slack! You can sign up at https://rubyforgood.herokuapp.com
We’re in #team-inkind
gem install bundler
brew install postgresql
.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.sudo dnf install libpq-devel
. If you prefer choose package of libpq-devel via rpmchoco install postgresql
.cd inkind-admin/
asdf
, run asdf install
and Redis, Node, Ruby & yarn will all install at their appropriate versions.brew install redis
bundle install
to install ruby dependencies.bin/rails db:setup
to create schema and seed some data. This requires running postgres locally, with a role created for whatever user you’re running rails as.yarn install
bin/rails dev:cache
bin/server
inkind-volunteer
) in tandem, localhost for this repository runs on port 3001. So launch inkind-admin
from your browser at http://localhost:3001/
System tests use Chrome Browser and Chromedriver.
brew install --cask chromedriver
. Then cd
into the directory it installed in (which chromedriver
) and mark it as safe to use with xattr -d com.apple.quarantine chromedriver
.bin/rspec
Seeding data creates one “admin” user for you to log in as locally.
To log in as an admin:
Email: [email protected]
Password: password
To log in as a volunteer:
Email: [email protected]
Password: password
rails graphql:schema:dump
to update the schema and IDL with the changes.