451suman/Piggy-Bank-Django-API — reverse-engineered prompt
Reverse engineered prompt
Build me a simple Piggy Bank expense tracking API in Django. I want people to be able to log in, then manage their own spending records with categories and currencies.
The API should let a user list currencies, create and manage categories, and create, view, update, search, filter, and delete transactions. A transaction should have an amount, currency, date, description, and category. I also want the transactions list to support pagination, searching by description, and filtering by currency code.
Please protect the API with an Authorization API key style header after login. Make the local server routes easy to test, like under api currencies, api categories, api transactions, and api login. Include clear example requests in the README so I can test everything in Postman or a browser client. Keep it simple and clean, but make it actually runnable from scratch with setup steps, migrations, and a basic admin or sample data if useful.
Want more depth? Deep Reverse