Skip to content

Foundational development environment for creating dApps on Terra

Notifications You must be signed in to change notification settings

Y-Foundry-Dao/terra-dapp-template

Repository files navigation

Terra dApp Template

The Terra dApp Template is a starter template built off the wallet-provider repo. This template is built with a robust infrastructure. This is intended to help developers build, with ready to configure, production ready tooling.

Installation

Please ensure you are running node 14 or higher

Use the package manager yarn to install the dependencies.

yarn install

Usage

localhost:3000

yarn start

storybook design system

yarn storybook

unit/integration tests

yarn test

end to end tests

yarn e2etest

Guides

storybook

unit and integration tests

end to end tests

styling

Packages

Core packages needed for Terra Development

Terra.js

wallet-provider

Routing

React Router

Styling

Styled Components

Testing

Playwright

React-testing-library

Jest

Lint/Format

Eslint

Prettier

Lint-staged

Pre-Commit Hooks

Husky

Override Webpack

React-app-rewired

Notes

This repo has minimal setup done in the Eslint and Prettier files with the intention that the developer using the template can set up the rules how they would like

Eslint Rules

Prettier Rules

Most projects tend to use the AirBNB style guide but this template uses minimal rules to allow the user the ability to to customize it as they want.