An open API service indexing awesome lists of open source software.

https://github.com/pjsier/reentry-resource-guide


https://github.com/pjsier/reentry-resource-guide

Last synced: 4 months ago
JSON representation

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.