- Ruby on Rails API for the Be Engaged backend.
- This API consists of 4 domain models with
has_many
andbelongs_to
associations. - Pulls in election and polling station data from Google Civic Information API.
- Developed SMS notification feature with the Twilio API.
- See frontend Github link here
- Built by Stephanie Zou.
To get started, you will only need Ruby on Rails and Postgres. To do so, you must have Homebrew and Ruby installed first.
In your terminal...
-
Install Homebrew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
-
Install Ruby
$ brew install ruby
-
Install Rails
$ gem install rails
-
Install PostgreSQL
$ brew install postgresql
-
Clone the repo and cd into the folder
-
Bundle Install
$ bundle install
-
Create migrations, migrate and seed:
$ rails db:create $ rails db:migrate $ rails db:seed
-
Last step, launch the rails server!
$ rails s
- Rack CORS: description
- ActiveModel::Serializer: description
- Google Civic Information API
- Twilio API
Coming soon!