Skip to content

openmcac/basechurch

Repository files navigation

Basechurch

Build Status Code Climate Coverage Status

Basechurch is a set of APIs for front-ends to interact with in order to save data about their church and the groups inside it. The goal is to have one API that a church's various platforms (iOS, Android, web) will fetch data from.

Getting Started

  • Set up repository
$ cd ~/repos                        # or wherever you want to store your code
$ git clone [email protected]:openmcac/basechurch
$ cd basechurch
$ bundle install --without staging  # install required gems
$ bundle exec rake db:migrate       # update database
$ cd spec/test_app
$ bundle exec rake db:seed          # populate test data
$ curl get.pow.cx | sh         # installs pow
$ cd ~/.pow
$ ln -s ~/repos/basechurch/spec/test_app basechurch

Running Specs

You can run all specs with the following command:

$ cd ~/repos/basechurch
$ RAILS_ENV=test bundle exec rake db:migrate  # update test db
$ bundle exec rspec

You can also run specs automatically (TDD) with:

$ cd ~/repos/basechurch
$ bundle exec guard

Make sure that all specs pass before submitting a Pull Request.

About

A JSONAPI-complaint Rails API to manage churches.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published