Installation
install node_module
Before you begin, make sure your system meets the following requirements:
Node.js 18.18 or later.
macOS, Windows (including WSL), or Linux.
The project is built by Next.js, so development and construction will follow CRA guidelines.
Please check more carefully here -https://nextjs.org/docs/app/getting-started/installation
Unzip the download and navigate to the Bitpan folder. Open a terminal on your computer, then drag the Bitpan folder into that terminal window to start working on the project.
Install the required packages:
npm install
Then, add the following scripts to your package.json
file:
{
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
}
}
These scripts refer to the different stages of developing an application:
next dev
: Starts the development server.next build
: Builds the application for production.next start
: Starts the production server.next lint
: Runs ESLint.
Run
npm run dev
to start the development server.Visit
http://localhost:3000
to view your application.Edit the
app/page.tsx
file and save it to see the updated result in your browser.
Last updated
Was this helpful?