Git Product home page Git Product logo

isabella232 / find-a-housing-counselor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cfpb/find-a-housing-counselor

0.0 0.0 0.0 280 KB

:warning: DEPRECATED :warning: Templates now live in cfgov-refresh. JS is with the API at https://github.com/cfpb/django-hud

Home Page: https://www.consumerfinance.gov/find-a-housing-counselor/

License: Creative Commons Zero v1.0 Universal

CSS 52.99% PHP 2.57% JavaScript 44.43%

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

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.