Skip to content

haitlc/react-admin-demo

Repository files navigation

React Admin Demo

This is an example project that demonstrate the idea of using React following the guideline and practices from the create-react-app guide

Demo: https://haitlc.github.io/react-admin-demo/

This example includes:

Run

Install dependencies

yarn

Start

yarn start

Browse http://localhost:3000

Demo

Storybook

yarn storybook

browse http://localhost:9001/

Storybook

Unit test

Run in watch mode

yarn test

Unit Test

Test Coverage

yarn test --coverage

Test coverage

Format code

The format configuration is in /.prettierrc. You may need to install this Visual Studio Code plugin first, and press Alt+Shift+F to format the code.

Prettier

CICD support

Demonstration here is by Travis CI, similar approach can be done on other CI servers (e.g. Jenkins)

Current job Branches branch-history