Skip to content

matteocelani/next-dApp

Repository files navigation

Template for dApp built in Next.js

Template for a decentralized application (dApp) built in Next.

Web3 Packages


Available Scripts

Development Mode

Start the Development Server

These commands start the application in development mode. Open http://localhost:3000 in your browser to see the result. The page auto-updates as you edit the file.

npm run dev
# or
yarn dev
# or
pnpm dev

Production Build

Build the App for Production

These commands build an optimized version of the application for production, saved in the .next folder.

npm run build
# or
yarn build
# or
pnpm build

Production Server

Start the Production Server

After building the application, use these commands to start the server in production mode.

npm run start
# or
yarn start
# or
pnpm start

Code Quality

Run the Linter

Run these commands to start the linter, which helps maintain code quality and find any issues.

npm run lint
# or
yarn lint
# or
pnpm lint