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:
- Startup Docker for Desktop
- docker build -t co-care-directory .
- docker run -it --rm -v $PWD:/app -p 3000:3000 co-care-directory bash
- npm install
- npm start
- http://localhost:3000/results?zip=80203&miles=3 (change ZIP and mile radius)
The main files to look in are:
app.js
for loading logicroutes/search.js
for the radius search