Danishbhutta001/Smart-Support-Ticket-Escalation-System ? reverse-engineered prompt

Reverse engineered prompt

Build me a backend support ticket system for a customer support team. I want users to sign up and log in with JWT, verify their email, and have three roles, Admin, Agent, and Customer, with different access for each one. Customers should be able to create tickets, add comments, and upload attachments. Agents and admins should be able to view, manage, and escalate tickets, and I want activity logging so I can see what happened on each ticket.

Please make it use FastAPI with PostgreSQL, Redis for caching, Alembic migrations, and AWS SES for verification emails. If file uploads are needed, set it up so attachments can be stored cleanly and the app is ready for AWS S3. I also want the API to be easy to test from Swagger docs. Set it up in a way that feels production ready, with clean structure, validation, and sensible defaults. If you need to look up current docs online while building it, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab