aryankholqi/nextUI-Dashboard ? reverse-engineered prompt
Reverse engineered prompt
Build me a clean admin dashboard app with a login screen first, then a protected dashboard area after sign in. Use the fake store login flow with a saved token so the app feels like a real authenticated product, and make sure unauthenticated users get sent back to login.
I want a modern, minimal dashboard look with a sidebar, top bar, and a main content area that works nicely in both light and dark mode. Add a home dashboard page with some summary cards and charts, plus a few extra pages that feel like a real admin panel. Use reusable components where it makes sense, and keep the code organized so page specific pieces live with their page while shared pieces are used across the app.
Please include form handling, API data fetching, global UI state for things like collapsing the sidebar, and toast messages for feedback. If you need current docs for any library details, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit