multimedia blog

We are working hard 👷🏼‍♂️ 🏗 🚜 to continually add more.
Please email if you have requests or questions 🙋.
Contact 👽 🛸 info below.
📬

build admin page

Goals. Build a private admin page accessible only to users who have the admin role. The page displays a list of all the users from MongoDB.

admin-dashboard-nextjs

Admin users can edit user roles and view when each user last signed in.

The code setup makes it easy to add more editable features in the future by reusing code you already wrote and mimicking flows you create.

handle-role-changed

Gain repetition with important concepts covered in previous chapters but in a slightly different content.

Modify the architecture, code, and approach from the profile page to make it suitable for admin purposes.

admin-example

Despite the adjustments, like in the previous chapter, you build the fullstack flow for an editable input, work with the router to redirect users based on authorization and access status, and write client pages, build server routes, and send HTTP requests.

Last updated Aug 24, 2022 at 13:37