Erzhanov/demo-ready-dev-market-42055 — reverse-engineered prompt
Reverse engineered prompt
Build me a simple app called Aizhan Health Companion. I want a clean web chat where someone can ask general health questions and get AI responses in a friendly way. Keep the setup secure so the OpenAI key is never exposed in the browser, and route requests through a Supabase edge function that talks to the chat completions API.
Please make the chat feel polished, with a nice landing view, message history in the current session, loading states, basic error handling, and a clear note that it is only for general information and not a replacement for a doctor. Make it responsive so it works well on phones too.
I also want it easy to run locally with an env file for the key, and easy to deploy to Supabase in production using secrets instead of a local env file. If there is already starter code, just turn it into a working demo ready version and clean up anything missing. Check current docs online if you need to.
Want more depth? Deep Reverse