Kullapan/policy-attibute — reverse-engineered prompt
Reverse engineered prompt
Build me the Policy Attribute Management System from this repo so it works end to end locally.
I want a clean enterprise style web app where a user can manage a dictionary of policy attributes, including code, display name, data type, required flag, regex validation, and active or archived status. Users should be able to map attribute values to policy numbers, see a policy dashboard, and upload a CSV in bulk with row by row validation and clear error messages.
Use the stack already described here, Kotlin Spring Boot backend, PostgreSQL, React with TypeScript and Tailwind frontend, plus Docker Compose for the database and pgAdmin. Please wire up the API, database migrations, validation rules, Swagger docs, and the frontend screens so the app is actually usable. Keep soft delete behavior for archived attributes, validate values based on their configured type and regex, and make the UI feel polished with navigation, forms, tables, modals, toasts, and helpful empty or error states.
Look up current docs online if you need to, then implement and make sure it runs locally.
Want more depth? Deep Reverse