Admin Dashboard
App Builder
45-90 minutes0/6 steps0%
Step 2 of 6
Build admin layout and access control
Stand up the admin shell and lock it down before adding data.
First time here? Paste the Context Pack first so the AI understands your project - open it from the header above.
Prompt Capsule
Create the admin dashboard layout and protect it. Requirements: an /admin route with sidebar or tab navigation for each managed entity; access restricted to admin users (route guard AND backend enforcement on every admin endpoint - non-admins get 403); a visible 'access denied' experience for non-admins; loading skeletons for the shell. State how a user becomes admin in this app (flag on the user record) and create one admin account for testing.
Paste into EmergentFull Build: complete implementation prompt with explicit requirements
Quick is short. Full Build is recommended for most steps. Strict forces real logic when the AI keeps faking output.
Actual change check
Expected after this step
A protected /admin area with navigation and a working admin test account.
Should NOT happen
- An existing feature broke
- A button only logs to console
- Data disappears after refresh
- Errors fail silently with no visible state
This is what should exist before you continue. If reality does not match, do not move on.
Track what changed, failed, or needs follow-up. Notes export with the flow.
Pass the Verify Gate to complete this step