Giter VIP home page Giter VIP logo

financial-well-being's Introduction

Financial Well-Being Scale

A prototype of a web version of the CFPB’s Financial Well-Being Scale.

Screenshot

Dependencies

  • Gulp: task runner for pulling in assets, linting and concatenating code, etc.
  • Less: CSS pre-processor.
  • Capital Framework: User interface pattern-library produced by the CFPB.

NOTE: If you're new to Capital Framework, we encourage you to start here.

Installation

  1. Install Node.js however you'd like.
  2. Install Gulp:
npm install -g gulp bower
  1. Next, install the dependencies and compile the project with:
./setup.sh

NOTE: To re-install and rebuild all the site’s assets run ./setup.sh again. See the usage section on updating all the project dependencies.

Usage

Each time you fetch from the upstream repository (this repo), run ./setup.sh. This setup script will remove and re-install the project dependencies and rebuild the site's JavaScript and CSS assets.

To watch for changes in the source code and automatically update the running site, open a terminal and run:

gulp watch

How to test the software

After running ./setup.sh or compiling with Gulp, you can view the site in a browser by opening /dist/index.html. Alternatively, you may want to use a local server with something like python -m SimpleHTTPServer.

Known issues

This prototype was done for a one-day make-a-thon, so it’s still rough. Here are some things that need to be addressed to turn this into a final product:

  • With the exception of the questions themselves, all the content was whipped up by the make-a-thon team and needs to be reviewed and rewritten.
  • The hero illustration is a placeholder and should be replaced.
  • The “Ver página en español” link is meant to link to the Spanish version of the scale (which exists on paper).
  • All of the questions are required. Right now, form submission is disabled until all questions are answered, but that should be changed to use our standard error messaging.
  • The scale questions are looking pretty good on large screens, but on small screens they’re meant to transform to our standard large-target-area radio buttons (like the last two questions).
  • The scale questions aren’t currently in Capital Framework (and the HTML/CSS used for them in this prototype is pretty hack-y).
  • The paper version of the scale has some additional prompts that go along with the scale points that we weren’t able to accommodate with our current scale question style. We might want to look into reworking the scale question style to be able to include those prompts.
  • None of the score calculations have tests yet.
  • The content of the results page is meant to change based on your score.

Getting involved

We welcome your feedback and contributions. See the contribution guidelines for more details.

Additionally, you may want to consider contributing to the Capital Framework, which is the front-end pattern library used in this project.


Open source licensing info

  1. TERMS
  2. LICENSE
  3. CFPB Source Code Policy

Credits and references

  1. Projects that inspired you
  2. Related projects
  3. Books, papers, talks, or other sources that have meaningful impact or influence on this project

financial-well-being's People

Contributors

niqjohnson avatar wpears avatar

Watchers

 avatar  avatar

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.