Skip to content

vsb-vaj/template-lab-2023s-01

Repository files navigation

LAB-01

TASKS

  1. Install axios package as dependency - you can find instruction on website or in presentation.
  2. Install prettier as dev dependency package - presentation.
  3. 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 is prettier --write . So when you run npm run prettier it should execute prettier --write .
  4. Do all tasks in task-object.js
  5. Do all tasks in task-read.js
  6. Do all tasks in task-axios.js
  7. Task task-bonus.js is a bonus task for extra point.

Example

You can try run node test-dep.js if you installed axios correctly or not. Also if you run npm test, it should validate, if you installed all dependencies. Try it! There is also example in utils/axiosUtils.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published