DeGym Landing Page
This project uses Next.js, TypeScript, and Web3.js to interact with smart contracts on the Ethereum blockchain.
- Table of Contents
- Prerequisites
- Installation
- Project Structure
- Available Scripts
- Testing
- Deployment
- Contributing
Before you begin, ensure you have met the following requirements:
- Node.js (v14.x or later)
- npm (v6.x or later)
- MetaMask browser extension
-
Clone the repository:
git clone https://github.com/DeGym/frontend.git cd frontend -
Install dependencies:
npm install -
Create a
.env.localfile in the root directory and add any necessary environment variables. -
Start the development server:
npm run dev
src/
├── components/
│ ├── common/
│ ├── layout/
│ ├── section/
│ ├── staking/
│ ├── token/
│ └── ui/
├── context/
├── hooks/
├── pages/
├── public/
├── styles/
│ ├── components/
│ └── pages/
├── utils/
├── next.config.js
├── package.json
└── tsconfig.json
npm run dev: Starts the development server.npm run build: Builds the application for production.npm start: Runs the production server.npm run lint: Runs the linter.npm test: Runs the test suite.
This project uses Jest and React Testing Library for testing. You can run the test suite using the npm test command.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out the Next.js deployment documentation for more details.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.