- fork this repository & create a new branch for your work
- write all of your code in a directory named
lab-+<your name>e.g.lab-susan - push to your repository
- submit a pull request to this repository
- submit a link to your PR in canvas
- write a question and observation on canvas
- students will learn how to save resource data to the file system for a layer of data persistence
- students will learn how to refactor commonly used coding constructs into custom helper modules
package.json.eslintrc.gitignoreREADME.md- your
README.mdshould include detailed instructions on how to use your API - this should include documentation on how to access your API endpoints
- your
- continue working on your vanilla REST API
- refactor your routes to be contained in a separate module (ex:
route/resource-route.js) - refactor your
resmessages & status codes to be contained in a separate module (ex:response.js) - refactor the
storage.jsmodule to use file system persistence- use the
fsmodule to create and read the associated data files - the name of the file should contain the related resource id
- use the
