We will be using Node.js. Please see .nvmrc
to find current node.js version we are using.
New JavaScript features (ES2015+) are "enabled" for for all modern browsers with Babel.
- React docs
- frontend app is created using
create-react-app
- books:
- yarn CLI docs
- Useful commands:
yarn install
(install local dependencies - based onpackage.json
andyarn.lock
files)yarn add <package-name>
(install new NPM package and add it as a dependency topackage.json
)yarn <script-name>
(eg.yarn start
,yarn prettier
, see"scripts"
section inpackage.json
)
- Search for packages:
ssh [email protected]
- frontend code:
cd ~/code/cviceni/frontend