GithubHelp home page GithubHelp logo

isabella232 / rental-assistance-finder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cfpb/rental-assistance-finder

0.0 0.0 0.0 2.09 MB

A tool that allows users to search programs funded by the U.S. Department of Treasury’s Emergency Rental Assistance Program.

Home Page: https://www.consumerfinance.gov/coronavirus/mortgage-and-housing-assistance/renter-protections/find-help-with-rent-and-utilities/

License: Creative Commons Zero v1.0 Universal

HTML 1.50% JavaScript 97.93% CSS 0.57%

rental-assistance-finder's Introduction

Rental assistance finder tool

This tool allows users to view and filter emergency rental assistance programs funded by the U.S. Department of Treasury’s Emergency Rental Assistance Program.

React app

This tool is developed and maintained as a standalone React app. The app is then built, and the final, compiled Javascript and CSS files are used by our site. These compiled files can be found in the dist directory.

By distributing both the React source code and the final built Javascript and CSS files, we hope this package can be useful to more developers, as well as opening up our process for developing and publishing this application.

To run locally as a React component

  1. Clone repo

  2. Run yarn

  3. Run yarn start

    This runs the app in the development mode.

    Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.

Testing

All linting and testing can be run with yarn run test. Otherwise, the individual checks can be done below:

Linting

  • Lint the application with yarn run lint.
  • Autofix linting issues with yarn run lint --fix

Unit tests

  • Run unit tests with yarn run test:unit.

Functional tests

Ensure a local server is running (with yarn start).

  • Run functional tests with yarn run cypress run.
  • Run functional tests interactively with yarn run cypress open
  • Run component functional tests with yarn run cypress run-ct

To use inside a website

  1. (Optional) Install this package using npm install
  2. Include the main.js and main.css files from the dist/ folder in your HTML page.
  3. Add a container element to the page with id rental-assistance-finder
  4. From here, you may need to further adjust CSS rules to customize the style of the resulting elements.

rental-assistance-finder's People

Contributors

virginiacc avatar mistergone avatar wpears avatar anselmbradford avatar contolini 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.