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.

Project creation

Project creation

So, let's begin with the project creation. As discussed in the introduction that we are going to have two parts of this project, the client and the admin section. So we will have two separate projects, one for the client and the other for the admin section. First we begin with the admin part. So let's create the application for admin section. I'll open the terminal and straight away write the command npx create-next-app admin and enter. And let's continue with the configuration. I'll opt for JavaScript, then continue with yes, yes for Tailwind, src yes, app-router yes, no and default. All right, so the project is created. Let's open the project folder in the terminal and run it by saying npm run dev, enter. And let's go to the browser. So here we have the application running. Now similar to admin, let's also create the client app as well. I'll open the terminal and go to the eStore folder and we'll say npx create next app client, enter and again the same configurations as before. So…

Contents