Skip to content

backspace/prison-rideshare-api

Repository files navigation

Prison Rideshare pipeline status Coverage Status

This is a database to track reïmbursements and miscellania for a prison rideshare project. It serves the API for the Ember UI.

It’s intended to replace an increasingly unwieldy and brittle set of spreadsheets.

The initial target feature set will cover:

  • coördinators recording ride requests
  • ride-givers completing reports on their rides
  • collecting and calculating gas and food expenses from the reports
  • tracking reïmbursements of expenses

It’s currently specific to Bar None’s prison rideshare project but if you’re interested in adapting it, please let us know, we are interested in making it useful for others!

Deployment

This can be deployed to Heroku and Postgres. More on that to come. Required environment variables:

  • MAILGUN_KEY

Currently hardcoded:

  • Mailgun domain
  • currency

Running

To start your Phoenix app:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with npm install
  • Start Phoenix endpoint with mix phoenix.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

About

A database for a prison rideshare project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published