Skip to content

maggienj/Prince_housing

Repository files navigation

Fork this Prince_housing repository and the Megan Repository to start building on top of it

-- Megan rep --https://github.com/maggienj/Megan
-- Prince_housing --https://github.com/maggienj/Prince_housing

To run prince_housing app follow these steps:
First of all fork it....
To run the app locally:
0. Make sure"npm install -g" inside /Prince_housing

  1. make sure you have node.js installed
  2. install 'express' by running "npm install express -g" inside /Prince_housing.
  3. navigate to /Prince_housing in the terminal
  4. run: node app.js
  5. open chrome to localhost:8080
  6. Now you should be able to view the initial desgin of the app.
  7. If you get any errs then, ensure you have express installed as part of the node modules.

** Affordable Housing Project ** > -- using the code for America template
https://docs.google.com/document/d/1KaApjflNS7NRHaEGEZGmotNzi27TqshKtoCn12L6I0g/edit?usp=sharing

** References **

Any references, data sources, articles, additional documents, etc.
https://github.com/maggienj/Prince_housing/blob/master/Outline_forDan.txt
https://github.com/maggienj/Prince_housing/blob/master/lookupData_info.txt
https://github.com/maggienj/Prince_housing/blob/master/nj-housing-incomelimits.pdf

** June 9 - 2016 ** Transformation of lookup data. From PDF to CSV to JSON - Done!

Use this latest uploaded JSON file. (lkpDataV3.json)
-- A section of the pdf file was transformed to CSV.
-- Then, the csv file has ben transformed to JSON.
-- In addition, the JSON file has been modified slightly to remove $ and commas.
-- This JSON file contains data relevant to Region-4 Mercer, Monmouth and Ocean. This is the only region which is applicable to affordable housing project. Therefore, only this region is inlcuded in JSON file.

Link to the latest JSON file-- https://github.com/maggienj/Prince_housing/blob/master/lkpDataV3.json

Converter Used : http://codebeautify.org/csv-to-xml-json

For the upcoming hackathon June 10 , 2016
-- Notes by MaggieNJ -- Jun 10 , 2016 ---
** the below link contains a nodejs web app which uses the above json file.
https://github.com/maggienj/Megan
It uses lodash to filter and query the above lookup data json file. The code for it is in app.js
The next step is to move that section of code to "qualify" page and set that as an action for submit button with few more modifications

** Next set of tasks are listed here. Keep updating the status as you complete each one of these tasks.

  • If multiple people working on this , then, distribute these steps to individuals for faster completion.
  • If not mulitples (solo), then execute these steps in the same order... The last step is to beautify it.
  • Fork this repository to your github repo and start working on each and every step
    -- Task#1 -- Move the section of code related to lodash and lookup data json parsing to "qualify" page.

------ Status --

-- Task#2 -- Get the submit button working in "qualify" page.
------ Status --

-- Task#3 -- Instead of Zip code, add the county name in a pul down list. List only Mercer , Monmouth and Ocean county names.
------ Status --

-- Task#4 -- Add "Type" as an input field to "qualify page". Use drop down list. Values for the drop down list are, Median, Moderate, Low and Very Low. ( Currently, I have hard coded "Moderate" in app.js , remove this hard coding and accept it from the user directly)
------ Status --

-- Task#5 -- Once the submit button in "qualify page" is clicked, it should lookup the json file and output the result as "You are eligible for Affordable Housing in Princeton" or .......
------ Status --

-- -- -- Task#99 -- Beautify the layout with bootsrap. Bootstrap css, js and fonts have been downloaded and placed in css, js and fonts directory. Use the Jumbotron wide template for responsive websites. The meta tag has been added to make it as a responsive website to show legibly in all devices. Continue on this and build this as a responsive website..

For the upcoming hackathon June 10 , 2016
-----------------------------------------
We need members to complete the above steps
We need members to prepare a ppt to explain about Aff Housing
We need members to present this ppt and the website on Sunday.

If you would like to take part in this AffHousing project, then let me know which task you would like to contribute on.

Other Resources: More Info is at http://www.princetonnj.gov/affordable/mercer-contacts.html

Application Form: http://www.princetonnj.gov/affordable/AffordableHousing_Application.pdf

About

Housing Project - Princeton

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published