This is a sketchpad prototype built by 18F's Eligibility APIs Initiative to explore the financial factors of SNAP eligibility.
This repo holds prototype prescreeners for SNAP benefits. A prescreener can help someone decide if it is worth their time and energy to submit a full application to SNAP by giving them an understanding of their likely eligibility and their estimated benefit amount.
Right now the repo holds a prototype for one state, Virginia.
- As a person who might be eligible for SNAP, I want to find out if I am likely eligible and what my monthly benefit amount might be.
- As an oragnization that assists clients who may be eligible for SNAP, I want to offer a resource that can give them an estimate of their SNAP eligibility.
Open va/va.html
in the browser of your choice.
See the project wiki for guides and project documentation.
api.js
: A JS library that accepts estimates SNAP eligibility and benefits given inputs about household income and expenses. This is the bundled form of 18F/snap-js-api-prototype.form-controls-va.js
: JS for front-end form interactions. Sends data to theSnapAPI
library exposed byapi.js
; formats and presents the results. Hard-coded as a Virginia-specific prescreener.
Build the form-controls Javascript into a minified, browser-ready bundled state:
npm run build
Run pa11y accessibility check against the HTML files (JS interactions not yet tested for accessibility):
npm run pa11y
See package.json
for all developer commands.
This prescreener targets Chrome, Safari, Firefox, Microsoft Edge, and Internet Explorer 11.
- This prescreener prototype is serverless and uses front-end Javascript only. It does not collect any PII.