$ npm install
# Start development server
$ npm start
# Build bundle folder for local enviroment
$ npm run build
# Build bundle folder for development enviroment
$ npm run build:dev
# Build bundle folder for production enviroment
$ npm run build:production
Start server mock
$ npm run start:mock
- react
- react-router-v4
- redux
- redux-sagas
- webpack 5
- tailwindcss
- bulma
- styled-components
- Storybook
-
Every components should not have a logic about API (server-side) and side effect logic.
- Move them to
modules/*.
- Move them to
-
Pages are Class Component.
- Manage a local state and connect to Redux's store.
-
Other components should Function Component.
- And should not have a local state without special reason.
Using the re-ducks architecture.
- Every magic number going to be moved to
constants/* - Images are defined on
themes/images.jsand import it by some Components.