Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

bloom-works/co-care-directory-plan-b

Repository files navigation

co-care-directory-plan-b

TODO: Update this to actually be readable if this repo ever winds up getting used

Quick and dirty prototype showing:

  • Loading a Spatialite (i.e. SQLite with GIS extension) database with ZIP code and LADDERS facility data
  • Searching a mile-based radius for facilities

To try it out:

  1. Startup Docker for Desktop
  2. docker build -t co-care-directory .
  3. docker run -it --rm -v $PWD:/app -p 3000:3000 co-care-directory bash
  4. npm install
  5. npm start
  6. http://localhost:3000/results?zip=80203&miles=3 (change ZIP and mile radius)

The main files to look in are:

  • app.js for loading logic
  • routes/search.js for the radius search