create-next-app
You can use create-next-app to quickly create a new project with this Starter, by running the following command:
Check out the development guides to familiarize yourself with the project's code structure.
Use this template
featureFrom this project's GitHub repository homepage click the Use this template button to create your own GitHub repository from it.
There are two branches. The default branch, named release
, contains the code for the latest stable release. The other branch, named canary
, is the development branch and holds code for the next release. By default you will only get the release branch. If you want your repository to be created with the canary branch as well, make sure to select the Include all branches checkbox in the repository creation form.
Depending on your workflow either clone, or fork and then clone your repository to your local environment and then do the following:
Make sure you have Node.js (>= 10.21.0) installed.
Install the dependencies:
Run the Next.js development server:
Open http://localhost:3000 with your browser to run the web app. To specify a port other than 3000 use the -p
flag:
Go forth and code your awesome project! We recommend that you read the development guides.
We ship an opinionated feature set on top of the default app that create-next-app
gives you. Check out the development guides to familiarize yourself with the code structure of Next.js WebApp Starter.