khadeer0503/home-energy-tracker ? reverse-engineered prompt
Reverse engineered prompt
Build me a Home Energy Tracker web backend that lets users record power readings from smart plugs or meters, see how much electricity each device is using over time, and get alerts when usage gets too high.
I want it to feel like a real product, with one main API entry point, user login with token based security, and background processing for incoming energy events so the app can handle lots of readings without slowing down. Store the device and account data in a normal database, and store the time based energy measurements in a separate place that makes it easy to query usage trends. Add a simple way to surface tips or suggestions based on the energy data too.
Please make it runnable with Docker Compose, and include the basics for monitoring and resilience so I can see errors, latency, and service health. If you need current library details or best practices, look up the latest docs online.
Are you gonna build this?
make sure you review the code using coderabbit