swayamkumarkarn/rival-frontend ? reverse-engineered prompt
Reverse engineered prompt
Build me a modern task management frontend in Next.js with a clean, polished UI and a responsive layout.
It should connect to an existing backend API, support sign up, login, logout, protected pages, and admin only areas. Users should be able to create, edit, delete, search, filter, sort, and page through tasks, with both a card view and a table view. Task details should open in a drawer, and attachments should be easy to upload and remove.
I also want an analytics dashboard with a few summary cards and charts, plus an activity timeline that groups updates by day. Add real time task updates and online user presence for admins, along with dark mode, a mobile friendly sidebar, toast notifications, and optimistic updates so the app feels fast.
Use a modern component style, make the forms feel solid with validation, and keep the whole thing professional and easy to use. Look up current docs online if you need to.