https://github.com/pjsier/reentry-resource-guide
https://github.com/pjsier/reentry-resource-guide
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pjsier/reentry-resource-guide
- Owner: pjsier
- License: mit
- Created: 2021-08-21T19:18:49.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-09-14T16:39:49.000Z (9 months ago)
- Last Synced: 2025-09-14T18:32:36.567Z (9 months ago)
- Language: JavaScript
- Homepage: https://guide.reentryillinois.net/
- Size: 8.67 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Education Justice Project Reentry Resource Guide
## Setup
You'll need [Node](https://nodejs.org/en/) installed and an [Airtable](https://airtable.com/) account set up with the fields in [`src/pages/index.js`](./src/pages/index.js).
### Internationalization
Multilingual support is provided through [`gatsby-plugin-intl`](https://github.com/wiziple/gatsby-plugin-intl). Translated phrases are located in JSON files in the [`src/intl/`](./src/intl/) directory, and translated Markdown pages are in [`src/markdown/static`](./src/markdown/static/).
### ZIP Code Search
To avoid the overhead and additional network requests of a geocoder, we're using a pre-generated mapping of ZIP codes to other ZIP codes they overlap to do a fuzzy ZIP search. You can update the mapping for your area by using our repo [City-Bureau/nearby-zip-map](https://github.com/City-Bureau/nearby-zip-map) to create a new file and replace the one in [`src/data/zip-map.json`](./src/data/zip-map.json).
Some of our resources are specific to the city of Chicago while others are available to the surrounding region. To make sure users searching ZIP codes outside of Chicago don't see Chicago resources, we're using a static list of city ZIP codes to determine whether resources are displayed when a ZIP code is searched. To replicate this for your area you can update the file [`src/data/city-zips.json`](./src/data/city-zips.json).
## Deploy
Currently deployed on Cloudflare Pages with a [deploy hook](https://developers.cloudflare.com/pages/platform/deploy-hooks) connected to an Airtable button script used to manually trigger deploys.