/infome-backend

API for "InfoMe" web app; track bill life cycle in U.S. congress and responsible representatives

Primary LanguageRubyMIT LicenseMIT

InfoMe Web App API

  • Back-End for InfoMe app
  • Makes calls to ProPublica Api
  • Currently hosted with: Heroku
  • Front-End of app built with React can be found here: infome-frontend

Prerequisites prior to installation

  • Have NPM installed
    • Version: 6.11.2
  • Have Ruby installed
    • Version: 2.6.4
  • Have Ruby On Rails installed
    • Version: gem 'rails', '~> 5.2.0'
  • Have PostgreSql installed
    • Version: gem 'pg', '~> 0.18.4'
  • Herkoku CLI

Setup

  1. cd int project
  2. bundle install
  3. rails db:migrate

Relational Database Management, Schema Overview

  • Bills
  • User_Bills
  • Users

Tech Stack

  • Database
    • PostgreSql
  • Framework
    • Rails
  • Back-End Language, Object-Oriented
    • Ruby

Tools

  • HTTPIE

    HTTPie (pronounced aitch-tee-tee-pie) is a command line HTTP client. Its goal is to make CLI interaction with web services as human-friendly as possible. It provides a simple http command that allows for sending arbitrary HTTP requests using a simple and natural syntax, and displays colorized output. HTTPie can be used for testing, debugging, and generally interacting with HTTP servers.