Welcome back to my channel! In this video, we will go through the steps of creating a NextJS project. After gaining knowledge about what NextJS is and why we should use it, let's now start using it by creating a NextJS project.
To create a NextJS project, we only need to run a command. However, before running the command, you need to have Node.js installed. Node.js comes with Node Package Manager (NPM), which is an additional tool used for installing and managing libraries in JavaScript projects. We will use this tool to create our NextJS project and Node.js to execute server-side rendering, which uses Node.js under the hood. You can always install Node.js from nodejs.org.
Once you have installed Node.js, you can run the command to create your NextJS project. Open your terminal and navigate to the location where you want to create your project. In my case, I will create it on my desktop. Then, simply run the command 'npx create-next-app' followed by the name of your application. This will create your project, but before it completes, you will need to answer 'yes' or 'no' to the questions about additional dependencies.
This command will create a folder for your project and install all the core dependencies your project will need. Now, in my next video, we will look into the structure of the created project.
Thank you for watching!