google-home/smart-home-nodejs — reverse-engineered prompt
Reverse engineered prompt
Build me a sample smart home backend in Node.js and TypeScript that I can connect to a Google Home developer project as a cloud to cloud integration. I want it to feel like a real provider service for a few example IoT devices, with a simple account linking flow and the main smart home requests so Google Home can discover devices, read their current state, and send commands like turning things on and off.
Keep it straightforward but fully runnable. Use clear mock users and devices, sensible auth handling, and make it easy to test locally. If this repo already has most of the pieces, finish it and polish it so someone can clone it, run it, and understand the full flow without a lot of guesswork. Please also add simple setup notes and any small fixes needed so it works end to end. You can look up the current Google Home docs online if you need to.
Want more depth? Deep Reverse