You can follow this architecture for a Next.js App
Create a new application using create-next-app
with the -e | --example
flag pointing to this repository's url, like so:
npx create-next-app@latest --example https://github.com/danicunhac/next-boilerplate
Tip: You can find
create-next-app
's documentation at https://nextjs.org/docs/api-reference/create-next-app.
You can also click on the Use this template
button.
After that, clone the repository that was created on your account and follow the steps below:
# Installing project dependencies
yarn
# Starting the project
yarn dev