From the course: The Freelance Stack: Real Project with Next.js and Strapi

Unlock this course with a free trial

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

Next.js base setup

Next.js base setup

So, it's finally time to set up our main project for the course, the surf camp, and we'll start with the Next.js frontend, and you can put this anywhere you want, like in my case here I have a project folder where I'm going to just create a new surf camp folder. That one in my opinion though is important that you have one folder where you can then store the frontend and the code for our Strapi headless CMS. Now as I said, the first thing we're going to do is the Next.js front-end. And for that, you already saw the command in the path section where we have the crash course on Next.js. In that case, I was telling you, hey, you can just use npx create-next-app at latest. What that will do is give you the last stable version of the Next.js framework. In this case, though, I might tell you, or I mean, you can decide for yourself, but I would say use maybe 13.55, because that's what I'm going to do here. That is just so that we're all on the same page, so even if you watch this in a year…

Contents