A Netlify-ready site that analyzes medical test images using the OpenAI API.
- Install dependencies:
npm install
- Set your environment variables, either in Netlify or a local
.envfile:
OPENAI_API_KEY=your_api_key OPENAI_MODEL=gpt-4.1-mini
- Run the dev server:
npm run dev
- Push the project (or upload the build folder) to Netlify.
- Go to Site configuration > Environment variables and add:
OPENAI_API_KEYOPENAI_MODEL(optional)
- Trigger a redeploy.
- The API key is never exposed on the frontend — it's only used inside a Netlify Function.
- Results are for guidance only and don't replace a proper medical consultation.