Amen974/Task_Manager_API ? reverse-engineered prompt
Reverse engineered prompt
Build me a Task Manager API for a team workspace app.
I want users to be able to sign up and log in, keep their sessions with refresh tokens, and manage workspaces where people can be invited by email and join with roles like owner, admin, or member. Inside each workspace, there should be projects, and inside each project there should be tasks with a title, instructions, priority, status, assigned user, and timestamps for when they were created and completed.
Please also support file uploads attached to tasks, with the original filename, type, size, and storage info saved properly. Make sure the API handles invitations, token expiry, membership rules, and the usual create, read, update, and delete actions for workspaces, projects, tasks, and files. Use the database structure from the README, keep it clean and secure, and make the endpoints and models feel ready for a real app. If you need to check current docs for the best way to wire things up, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit