Ankitanand2411/Artikate ? reverse-engineered prompt
Reverse engineered prompt
Build me an internal service for tracking company equipment that employees check out and return.
I want a simple API where I can add assets and employees, list and search assets, check an asset out to an employee with a due date, and record when it gets returned with a short condition note and whether it needs maintenance. The app should prevent bad check outs, like using an inactive employee, checking out something that is already out, or letting one employee hold too many items at once. It should also have a health check, an overdue report, and a per employee summary page that shows how many items they have out, how many they have returned, and similar basic stats.
Please make it work with a database, include token based login for the API, and set up a background job that marks overdue check outs once a day. If you need to, look up the current docs online so the setup is up to date. Include a Docker setup and seed data so I can run it quickly and try the endpoints right away.
Are you gonna build this?
make sure you review the code using coderabbit