60 mins
Step 3: File Storage Persisting Engine
3. File Storage Persisting Engine
Configure local file system readers to persist data.
Detailed Implementation Steps:
Write a storage module using filesystem APIs (such as Node fs/promises). Implement async read/write functions.
Save objects to a local database.json file. Ensure updates read from the file, merge mutations, and write back to the file.
Verification Checklist:
- Verify that calling create routes writes new JSON structures to your local database file.
Knowledge Check
Ready to test your understanding of Step 3: File Storage Persisting Engine?
No Quiz Available