Giter VIP home page Giter VIP logo

find-a-housing-counselor's Introduction

Find a Housing Counselor

The "Find a Housing Counselor" Front End allows users to find the 10 closest HUD-approved housing counselors by the centroid of a ZIP code. They can print those based on the results on the web page.

The front end of the application is powered by Javascript (including jQuery), and relies on CFPB's Django HUD API to return the results (in JSON) based on the zip code entered in the front end.

Screenshot

A screenshot of the front end of the Find a Housing Counselor page, complete with text, form fields and Google Maps integration

Requirements

  • CFPB's Django HUD API must be installed in a location where the Javascript can access it via an AJAX call.
  • jQuery
  • The "Find a Housing Counselor" Front End uses the Google Maps API to generate an interactive map. However, this feature could be removed without affecting the results. At this time, the code does not contain a setting or option to disable or remove the Google Maps API components.

Installation

The "Find a Housing Counselor" Front End consists of a specific document object model (contained in the HTML file) and Javascript meant to manipulate the DOM. Installation can vary depending on implementation of the HTML and JS. However, a few settings at the top of the main.js file can be edited to simplify installation.

  • API url: Found in the main.js file with the variable name qurl.

find-a-housing-counselor's People

Contributors

dlapiduz avatar mistergone avatar

Stargazers

Joseph avatar Chris Contolini avatar  avatar hainuo avatar Kirk Hadley avatar David A. Kennedy avatar albert avatar  avatar Raphael (Raphy) Villas avatar  avatar

Watchers

Matthew Burton avatar Adam Scott avatar CM Lubinski avatar S Gorobet avatar william higgins avatar Ans avatar Virginia Czosek avatar James Cloos avatar Scott Cranfill avatar  avatar CFPB avatar Kimberly Munoz avatar Mike Brown avatar  avatar  avatar Orlando Soto-Pastor avatar Will Barton avatar  avatar

find-a-housing-counselor's Issues

Outdated Third Party Libraries (jQuery)

I noted that this source code uses an outdated version of jQuery (jquery-1.9.1.min.js). I believe that we should be updating to the latest version of the library for security best practices.

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.