This is a guideline to build an modern SPA project using React framework step by step.
We use following framework and packages:
- UI Framework - React
- Package Management - Yarn
- Formatter - Eslint, Prettier
- Compiler - Babel
- Bundler - Webpack
- Style - Styled Components
- Router - Reach Router
- Flux - Mobx
- Test - Jest
- clone repo
git clone git@github.com:gaoljie/spa-from-scratch.git <PROJECT-NAME>
- install package
cd <PROJECT-NAME> && yarn install
- run project
yarn start
- build project
yarn build