/example-react-project

React project structure for scale

Primary LanguageTypeScript

Example react project

This is an example of a React project that illustrates approach to developing React apps, described in this article: https://www.developerway.com/posts/react-project-structure.

  • packages/product/sidebar has an example of all three layers: UI, data, shared
  • packages/product/topbar has an example of a package with just UI layer

How to run the project

Install dependencies

yarn

Start the website

yarn website:dev

Linting and typescript checks

yarn lint
yarn ts