- React https://reactjs.org/
- Redux https://redux.js.org/
- redux-requests https://www.npmjs.com/package/redux-requests
- fetch https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
- react-intl https://github.com/formatjs/react-intl
- react-router https://reacttraining.com/react-router/web/guides/quick-start
- classnames https://github.com/JedWatson/classnames
- sass https://sass-lang.com/
- BEM http://getbem.com/
- Jest https://jestjs.io/
- Enzyme https://airbnb.io/enzyme/
- enzyme-to-json https://www.npmjs.com/package/enzyme-to-json
- fetch-mock https://www.npmjs.com/package/fetch-mock
- redux-mock-store https://github.com/dmitry-zaets/redux-mock-store
Project is generated with CRA (create-react-app).
Install nvm (https://github.com/nvm-sh/nvm)
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
nvm install 10.16.1
nvm use 10.16.1
nvm alias default 10.16.1
npm install -g yarn
yarn
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Also starts node server that at this point only provides Intl messages (can be used as proxy for API calls if needed)
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Update tests snapshots
Generate unit tests coverage
Run linter on source files
Run prettier on source files
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
yarn build
sudo -i
yarn server
Open http://localhost to view it in the browser.