Coder Social home page Coder Social logo

hcksystem / gethelplex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openlexington/gethelplex

0.0 0.0 0.0 1.76 MB

Substance use treatment locator for Lexington, KY

Home Page: http://gethelplex.org

License: MIT License

HTML 10.94% JavaScript 84.77% CSS 4.29%

gethelplex's Introduction

GetHelpLex Build Status Stories in Ready

I want to help develop Finda

Great! Quick setup:

npm install
npm install -g http-server
npm start

Visit localhost:8080 to see the app.

A bit more background:

The project is based on Code for Boston's finda project. In Lexington we've customized it for our needs:

  • The facilities are read from a Google spreadsheet using the Tabletop.js library. This way our stakeholders have realtime ability to update facilities.
  • We hacked the facet handling to guide the user through a 'survey'. It narrows down the facilities based on type of treatment, the insurance they accept, etc.

Let's say you want to new information about facilities like "do they let you smoke." You would want to add a column to the facilities spreadsheet called smoking_permited (or similar):

  • make a copy of the existing spreadsheet
  • copy paste the new spreadsheet's key to the Tabletop.js init
  • then you'll update config.json [todo, flesh this step out more :)]

A lot of Code for Boston's development documentation is still relevant. Let us know if you hit any key differences for Lexington and we'll update this readme!

Look in the waffle board for priority issues.

How to Test

You can run tests once by running: npm test

Keep test server running to speed up tests. Start test server:

npm run test-server

Kick off a test run when the test server is running:

npm run test-client

Analytics and feedback

GetHelpLex uses Google Tag Manager to manage Google Analytics as described in the Unified Analytics repository.

GetHelpLex posts feedback to a Google Spreadsheet as described here. As a backup, feedback is tracked using the ga-feedback approach managed by Google Tag Manager as described here.

Feedback is emailed to addresses defined in the script attached to the feedback spreadsheet.

To make changes to the script that handles feedback requests:

  • edit in the Appscript editor
  • Publish > Deploy as webapp > Version: new

Add map coordinates for new facilities

Geocode facilites

gethelplex's People

Contributors

eeeschwartz avatar paulswartz avatar ohnorobo avatar ronnorthrip avatar chaserx avatar cheshire137 avatar mjrouser avatar nikolaiwarner avatar isaacchansky avatar alexisylchan avatar whereshj avatar am071092 avatar calvinmetcalf avatar garbados avatar brightredchilli avatar c-ro avatar besublime avatar davidlago avatar jwass avatar stillwellmedia avatar marrowdeveloper avatar carrieegg avatar mheadd 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.