First, install the frontend dependencies using the following command in the root folder:
npm install
#or
npm i
#or
yarn i
Make sure you have nodemon installed as a global dependency, if not,then you can run the following command:
npm i nodemon -g
Now run the Next.js server using the following command :
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3002 with your browser to see the result.