Task 1 Install axios and prettier, scripts
- Install axios package as dependency (
npm i axios
) - you can find instruction on website or in presentation. - Install prettier as dev dependency package (
npm i prettier --save-dev
) presentation. - Create new script in package.json to run prettier for every js file in project. So this command
npm run prettier
has to work and it will fix all your files in project. Custom scripts - the command for prettier to format your files isprettier --write .
So when you runnpm run prettier
it should executeprettier --write .
Task 2
- Implement functions in
task-basic.js
file. You can run the file with commandnode task-basic.js
in terminal.
Task 3
- Implement functions in
task-objects.js
file. You can run the file with commandnode task-objects.js
in terminal.
Task 4
- Implement functions in
taks-read.js
file. You can run the file with commandnode task-read.js
in terminal.
Task 5
- Implment functions in
task-axios
file. You can run the file with commandnode task-axios.js
in terminal.
BONUS:
- Implement functions in task-bonus.js