Welcome to the KTON Staking Dashboard! This decentralized finance (DeFi) application enables users to easily stake KTON tokens and earn rewards. With a user-friendly interface, it simplifies your interaction with various blockchain tokens, making DeFi more accessible.
This project is organized as follows:
.env
- Environment variables configuration.eslintrc.json
- ESLint configuration for code linting.gitignore
- Specifies intentionally untracked files to ignore.next/
- Next.js build output directory.prettierrc.cjs
- Prettier configuration for code formatting.vscode/
- VSCode specific settingssettings.json
- Editor configuration
components.json
- Component configurationnext.config.mjs
- Next.js configuration filepackage.json
- Defines npm package dependenciespnpm-lock.yaml
- Lock file for pnpmpostcss.config.js
- PostCSS configuration for processing CSSpublic/
- Static files like images and iconsREADME.md
- Project documentationsrc/
- Source code directorytailwind.config.ts
- Tailwind CSS configurationtsconfig.json
- TypeScript compiler configuration
To set up the project:
-
Clone the repository:
git clone <repository-url> cd <repository-name>
-
Install the dependencies using pnpm:
pnpm install
-
Start the development server:
pnpm run dev
-
Open http://localhost:3000 with your browser to see the result.
After you have made changes to the project or if you wish to deploy it, you can build the project using:
pnpm run build
This command generates a .next
directory with your optimized production build. Next.js pre-renders your pages to static HTML, making it ready for deployment.
To start the project in production mode, run:
pnpm start
This command starts a Next.js production server that serves your built site on http://localhost:3000
. Ensure you have run pnpm run build
before starting the server in production mode.