- Modern React setup with the latest tools and libraries.
- Boilerplate for building web3-enabled applications.
- Example unit and integration tests included.
- Code linting and formatting for clean and maintainable code.
- GitHub workflows for continuous integration.
-
Clone this repository.
-
Copy the
.env.example
file to.env
and fill in the variables. -
Install the project dependencies by running:
yarn install
Available scripts that can be run using yarn
:
Script | Description |
---|---|
dev |
Start the development server using Vite. |
build |
Build the project for production. |
preview |
Preview the production build using Vite. |
lint |
Run ESLint on the source code to check for coding standards. |
lint:fix |
Run ESLint and automatically fix code formatting issues. |
prettier |
Check code formatting using Prettier. |
prettier:fix |
Format code using Prettier and automatically fix issues. |
format |
Run Prettier and ESLint to format and fix code issues. |
format:check |
Check code formatting and linting without making changes. |
test |
Run unit tests using Vitest. |
test:watch |
Run Vitest in watch mode. |
This boilerplate leverages the latest technologies, including: