create-your-own-api
This repository follows along Andrew Bliss' tutorial at RapdiAPI Blog.
There are two main fixes:
- In /index.js line 16, while using express middleware one should specifiy the required module's name instead of the module's path.
- In /routes/stats.js, the tutorial didn't define statsFilePath in POST, UPDATE and DELETE methods.