donuzzO/shivay-like-api ? reverse-engineered prompt

Reverse engineered prompt

Build me a small Python API for a simple like counter service, something I can deploy easily and call from a frontend.

I want it to let me create and read like counts for an item, and have a clean response format that’s easy to use from web apps. If the project already has support for token or UID generation, keep that working too, so each like can be tied to a unique user or request. Make sure the app runs cleanly with a basic web server setup and can be deployed as a serverless style app if needed.

Please keep it lightweight, with sensible error handling, JSON responses, and clear routes. If you need to check current docs or best practices for the deployment setup, go ahead and look them up. After that, wire everything together so I can run it locally and test the main endpoints right away.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab