From the course: Next.js Ecommerce: Build a Shopping Platform from Scratch

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Section intro

Section intro

So in this section, we're going to take care of two things. First, we need the admin management for the users, because we already have the orders and products. Now we want to manage the users. That includes getting and displaying the users. So we'll have an action. We'll have a page. And then we also want to delete the users. And again, we're going to use the Delete Dialog component. So we're reusing that all around this admin area. And then we want to be able to edit certain details, like the name. So we'll create that. And then once the users are all set, we're going to move on to the admin search form. And if you've noticed, there's a search, whether you're on the admin users, admin products, admin orders. So if you're on any of those pages, like let's say you're on the products page and you search, you want that to pertain to products. If you're on the orders page, then you want it to pertain to orders, and if you are on the users page, if you type something in the search form…

Contents