NutriPath is an action-first nutrition decision-support platform for U.S. households.
Core positioning:
NutriPath helps families and caregivers spot nutrition risk early, build better meals from what they already have, and find nearby support when access is limited.
index.html- Homeassessment.html- Assessment + inline resultsmap.html- Resource Mapmeal-builder.html- Smart Meal Builder + Recipe toolslearn.html- Nutrition Action Hubauth.html- Log in / Sign up + saved history viewresults.html- Optional standalone results view
python3 -m http.server 8080Open http://localhost:8080.
NutriPath reads keys from window.NUTRIPATH_KEYS in runtime-config.js.
- Copy
runtime-config.example.js->runtime-config.js. - Add keys locally:
voiceApiKeyforhttps://dev.voice.ai/api/v1recipeApiKeyforhttps://api.spoonacular.com(optional local fallback only)
If keys are missing, the app falls back gracefully:
- Voice: browser speech synthesis
- Recipe API: secure server proxy (recommended in production)
Recipe tools now call a Vercel serverless endpoint at /api/spoonacular, so end users do not need to paste API keys.
Set this environment variable in Vercel project settings:
SPOONACULAR_API_KEY- Optional alias also supported:
RECIPE_API_KEY
Local development fallback:
- If the proxy is unavailable locally, the app can still use
runtime-config.jsrecipeApiKey.
- Framework preset:
Other - Build command: leave empty
- Output directory: leave empty (root)
- Versioned cache in
sw.js - Network-first strategy for HTML/CSS/JS to reduce stale deploy issues
- App shell caching for baseline offline behavior