As some of you will be working on your own independent projects it will be good to give you advice in terms of how to develop for the web and what standards we use the for BAR. First we should install a few things on your local dev machine:
Text Editors:
- WebStorm (students get a free trial) for those who prefer an IDE experience and have more RAM)
- Suggested plugins (install via webstorm > preferences > plugins):
- VSCode, free text editor; lightweight and has extensive JS extensions
- Suggested extensions (install via the tetris looking logo on the left):
- react snippets (there’s many versions, try what you like)
- beautify
- eslint
- chrome debugger
- Suggested extensions (install via the tetris looking logo on the left):
Node Environment:
Node is a javascript runtime environment that can be run without a browser, so you can run code like this node myscript.js
just like a python script. Test you have it running by using node --version
.
Mac
- download official pkg installer
- homebrew install (install homebrew first and then enter
brew install node
in terminal) - nvm (more advanced, but has benefit of multiple node versions unlike above)
Windows