Giter Site home page Giter Site logo

leomedina / considered_collectively Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 720 KB

A web app that allows you to track and follow the bills in Congress that matter to you. Built using Python, Flask, Bootstrap 5, and deployed on Heroku using a PostgreSQL database.

Home Page: https://considered-collectively.herokuapp.com/

Python 55.56% HTML 42.64% CSS 1.80%
civics congress-legislators congressional politics policy

considered_collectively's Introduction

Considered Collectively

Considered Collectively is a web app that allows you to track and follow bills in the United States Congress.The application is built using Python, Flask, Bootstrap 5, and deployed on Heroku using a PostgreSQL database.

Technologies in Used:

  • Front-End:

    • In Use: HTML, CSS, and Bootstrap 5 (alpha) using templates built with Jinja.
    • Not in used: JQuery (because it's 2020).
  • Back-End:

    • In Use: Python, Flask, PostgreSQL, and Bcrypt.

Database Information:

  • DATABASE:
    • Data is stored in a many-to-many PostgreSQL database on Heroku.
    • User password data is encrypted using Bcrypt.
    • Bills are only saved when a user clicks on "Follow The Bill". This saves space on the server.
    • Bills are updated every morning when an external cron job makes a request to a secret route, allowing for the user to see the latest bills whenever they login.
  • DATA USED:

Testing

All Functions will be broken down and unit tested wherever possible. This section is still a WIP, more to come soon.

Errors and bugs

If something is not behaving intuitively, it is a bug and should be reported. Report it here by creating an issue: https://github.com/Leomedina/Follow_Your_Rep/issues.

Help me fix the problem as quickly as possible by following Mozilla's guidelines for reporting bugs.

Team:

  • UI / UX: Leo Medina
  • Front-End Developer: Leo Medina
  • Back-End Engineer: Leo Medina

Screenshots:

User landing page

User Search page

considered_collectively's People

Contributors

leomedina avatar

Watchers

 avatar

considered_collectively's Issues

[version 2] Implement the ability to follow a representative

Overview: Implement the ability to follow a representative, such as House member or Senator.

Technical Details: Currently the server includes several tables such as "representatives" and "representative-users" that give you many-to-many database capabilities to follow representatives.

[version 2] state management

find a way to save the user's follow in a separate state, that would prevent any catastrophic failures if the user saves a bill when the database is not accessible.

[version 2] Add user roles (admin, rep, etc)

Have the ability to create super users and users that are "verified" representative. This will allow representatives to answer any questions set forth by users in the comment sections of the bills.

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.