Code Monkey home page Code Monkey logo

civis's Introduction

Civis makes it easy to stay informed and in touch with your legislators. After identifying your location, Civis will identify your congressional representatives from our database. Civis will give you all you need to know about your legislators by combining information from ProPublica, Wikipedia, the New York Times, Twitter, and Google. In addition, by signing up, you can receive news alerts whenever your representatives are in the news, so that you can stay informed and be a better citizen. Civis is also available as an iOS and Android native app using React Native.

Production Site: www.civis.herokuapp.com

Installing

Run Commands:

  • bundle install
  • yarn ( or npm install )
  • bundle exec rails db:create db:migrate db:seed
  • ( Enter API Keys in .env )
  • bundle exec rake jobs:fetch_pictures
  • bundle exec rake jobs:fetch_articles
  • bundle exec rake jobs:fetch_bios
  • ( Start Servers ):
    • bundle exec rails server
    • yarn dev_server

And you're good to go!

Running the tests

Civis has an RSpec testing suite

  • rspec spec
  • open coverage/index.html

APIs

civis's People

Contributors

vbarela1 avatar lilarkin avatar jeremycram avatar

Stargazers

 avatar  avatar

Watchers

Garrett Stott avatar Joan Wright avatar

civis's Issues

Overall Style

Color Scheme
Style Buttons
Toasts
Gradients on Gradients on Gradients

User Profile Component

Show ZipcodeForm component
Delete Account Button on Page
Delete Account method in Users controller

Home

Badges
Logo
3rd Home Link
Footer Attributions

Home Page

Parallax Scrolling
Background Images
Government Info - Register To Vote (Copies jr.Dev)
Footer - Add About Us
Form Alert

NavBar

Icon
Remove About Link
Icon Link to Home
Home redirect to RepIndex if the user has a zipcode

Devise Views

  • Forgot Password
  • Sign Up: Password Confirmation

NYT API

NYT API Query
Database Refactor
API Controller
Front-End

Rep Model

Instance Methods to have user friendly formatted data
Model Spec

Rep Component

Rep Photos (Twitter API)
Phone Number links on phone
Organize Senator Information

Rep Page

Rep Photos (Twitter API)
Phone Number links on phone
Organize Senator Information

Rep Model Spec

add to .rspec file:

--format progress
--format documentation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.