From the course: Master Next.js by Building Scalable Apps with Routing, Databases, and Performance

Unlock this course with a free trial

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

Initiating client section

Initiating client section

In the previous lecture, we have completed the products section in the admin application. Now, we will begin with the client application. As you know, we have already created a client folder in the first lecture. Let's open the project folder in the terminal and run it by saying npm run dev, enter. Let's go to the browser. Here we have our client application running. Now I will go to the VS code and perform some basic setup for client application. First I'll open the layout.js file and update the meta information by saying title my store and save the changes. Now I'll go to the page.js file and replace the predefined code with the H1 home page of client application. Now let's save the changes and check in the browser. And you see that title changed with eStoreClient and the predefined content of the home page got replaced. Still you can see the predefined styling to our application. Let's go to the VS code and navigate to the globals.css file. Clear all predefined styles and add the…

Contents