View Code? Open in Web Editor
NEW
This project forked from codefellows-seattle-javascript-401n6/09-persistence
09-persistence's Introduction
Lab 09: Vanilla REST API w/ Persistence
- 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
.gitignore
README.md
- your
README.md
should include detailed instructions on how to use your API
- this should include documentation on how to access your API endpoints
- Continue working on your vanilla REST API
- Refactor your routes to be contained in a separate module (ex:
route/resource-route.js
)
- Refactor your
res
messages & status codes to be contained in a separate module (ex: response.js
)
- Refactor the
storage.js
module to use file system persistence
- Use the
fs
module to create and read the associated data files
- The name of the file should contain the related resource id
09-persistence's People
Contributors
Watchers