Closed zeim839 closed 1 year ago
Hi @zeim839 I would like to contribute to this issue. Could you share more details regarding requirements and specifications?
@Thinura
Thanks for volunteering! Keep in mind that this is a time consuming issue, so feel free to complete as many or as few specs as you wish.
The testing file should be created in test/blog.spec.js
. For testing, we use MochaJS and ChaiJS. Refer to test/users.spec.js for an example.
Each of the following specifications (demarcated with a '-' prefix) should constitute a separate Mocha test, i.e:
it('Should ...') { /* ... */ }
Refer to README and CONTRIBUTING for instructions on setting up the project and contributing.
Route: GET /:id
Route: DELETE /:id
Route: PUT /:id
Route: POST /
Route: GET /
TODO:
For reference, see the testing scripts for /api/users. If you're interested on working on this issue, leave a comment and I'll respond with the requirements & specifications.