This fun little API is kind of like a virtual file system. Instead of storing files in the file system, model them in a .json file!
This is an in-class project from the web-apps module, check out the module repo for some practice problems before diving right in.
- Clone the repo
cd
into the projectnpm install
- Modeling JSON data with Schemas
- Validating JSON data
Fill in the blanks in /api/handlers.js
, everything else works!