AnthonyLaw / symbol-react-boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Symbol React Boilerplate

In the latest javascript sdk Symbol-sdk v3 is not compatible with React. To ensure developer having a smooth experience building Symbol in React. This boilerplate will save you some trouble and directly jump in and start.

The React project was bootstrapped with Create React App with some of overwrite config to ensure using Symbol-sdk v3 without any issue. In addition, ESLint rules from core team is added as well.

Installation

  1. Clone the project.
git clone https://github.com/AnthonyLaw/symbol-react-boilerplate my-new-project
  1. Install the required dependencies.
cd my-new-project
npm install

sh init.sh # to update submodules
  1. Start application.
npm start
  1. Visit http://localhost:3000/#/ in your browser.

test

npm run test

lint

lint comment use for all file in src.

npm run lint
npm run lint:fix

build

build react project

npm run build

About

License:MIT License


Languages

Language:JavaScript 46.5%Language:HTML 34.3%Language:CSS 13.9%Language:Shell 5.3%