Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 958 Bytes

LAB-09.md

File metadata and controls

26 lines (22 loc) · 958 Bytes

cf lab-09-single-resource-api (SIMPLE PERSISTANCE)

To Submit this Assignment

  • working for the same fork from lab-08
  • submit a pull request to this repository
  • submit a link to your PR in canvas
  • write a question and observation on canvas
  • also describe how long the assignment took you

Resources

Here are some npm modules that you may find useful for this project, it is not required for you to use them.

  • del - a npm module that makes deleting files easy
  • mkdirp - like mkdir -p but Node.js

Directions

  • make these directorys to organize your code
  • lib
  • test
  • model
  • route
  • data // to hold your resouces
  • refactor the storage module to have file system persistance

Bonus

  • 2pts - have the storage module check for the type sub-directory, and create it if it does not exist